# Contributor: Andrew Chen # Contributor: Vladimir Kutyavin pkgname=pxlib pkgver=0.6.8 pkgrel=1 pkgdesc="Library to read and write Paradox DB files" arch=('i686' 'x86_64') license=('GPL') url="http://pxlib.sourceforge.net/" depends=('libgsf') makedepends=('intltool') source=(http://downloads.sourceforge.net/sourceforge/pxlib/${pkgname}-${pkgver}.tar.gz enable-iconv-support.patch) sha256sums=('5f9b58a5c3d9e5e60faad16dfbc5172ee14ae57a978732378660c0f2c9e74ef9' 'a91725bcf1f414ed0226635c406ef54bfce5350561412281fa399af59a8d4747') prepare() { cd $srcdir/$pkgname-$pkgver patch -p1 -i $srcdir/enable-iconv-support.patch } build() { cd $srcdir/$pkgname-$pkgver touch config.rpath autoreconf ./configure --prefix=/usr \ --with-gsf \ --disable-static make } package() { cd $srcdir/$pkgname-$pkgver make DESTDIR=$pkgdir install }