PKGBUILDs/extra/libofx/PKGBUILD

28 lines
879 B
Bash
Raw Normal View History

2009-10-10 02:23:22 +00:00
# $Id: PKGBUILD,v 1.9 2009/02/06 16:41:19 abhidg Exp $
# Maintainer: Aaron Griffin <aaron@archlinux.org>
# Contributor: Jaroslaw Swierczynski <swiergot@aur.archlinux.org>
# Contributor: Eric Belanger <belanger@astro.umontreal.ca>
# Contributor: Todd Maynard <arch@toddmaynard.com>
pkgname=libofx
pkgver=0.9.0
pkgrel=2
pkgdesc="API for the OFX banking standard"
arch=('i686' 'x86_64')
url="http://libofx.sourceforge.net"
license=("GPL")
options=('!libtool')
depends=('opensp>=1.5.2' 'curl' 'gcc-libs')
source=(http://downloads.sourceforge.net/$pkgname/$pkgname-$pkgver.tar.gz \
fix_cpp_includes.patch)
md5sums=('6e2172f0117f90805590bf755190b79e'
'17b65fe122dbb2df222aeee698bdf049')
build() {
cd $srcdir/$pkgname-$pkgver
patch -Np1 -i $srcdir/fix_cpp_includes.patch || return 1
./configure --prefix=/usr
make || return 1
make DESTDIR=$pkgdir install
}