core/libofx/PKGBUILD

49 lines
1.1 KiB
Bash

# Platform Packages for Chakra, part of chakra-project.org
#
# maintainer (i686): Phil Miller <philm[at]chakra-project[dog]org>
# maintainer (x86_64): Manuel Tortosa <manutortosa[at]chakra-project[dot]org>
# include global config
source ../_buildscripts/${current_repo}-${_arch}-cfg.conf
pkgbase=libofx
pkgname=('libofx' 'libofx-doc')
pkgver=0.9.4
pkgrel=1
pkgdesc="API for the OFX banking standard"
arch=('i686' 'x86_64')
url="http://libofx.sourceforge.net"
license=('GPL')
depends=('opensp' 'curl' 'libxml++')
checkdepends=('gnupg')
source=(http://downloads.sourceforge.net/$pkgname/$pkgname-$pkgver.tar.gz)
md5sums=('f2419bf8d01c0cff74efe7084e0a26c5')
sha1sums=('7370245c011ac4ea9313ba24a88c70e0eb9c317b')
build() {
cd "$srcdir/$pkgbase-$pkgver"
./configure --prefix=/usr
make
}
check() {
cd "$srcdir/$pkgbase-$pkgver"
make check
}
package_libofx() {
options=('!libtool' '!docs')
cd "$srcdir/$pkgbase-$pkgver"
make DESTDIR="$pkgdir" install
}
package_libofx-doc() {
pkgdesc="Documention of the OFX banking standard API"
depends=()
cd "$srcdir/$pkgbase-$pkgver"
make DESTDIR="$pkgdir" install-docDATA
make -C doc DESTDIR="$pkgdir" install
}