diff options
Diffstat (limited to 'PKGBUILD')
-rw-r--r-- | PKGBUILD | 22 |
1 files changed, 13 insertions, 9 deletions
@@ -1,7 +1,8 @@ -# Maintainer: Jon Ribeiro <contact@jonathas.com> +# Maintainer: Brian Bidulock <bidulock@openss7.org> +# Contributor: Jon Ribeiro <contact@jonathas.com> pkgname=dbf pkgver=0.9.0 -pkgrel=3 +pkgrel=4 pkgdesc="Command line tool to show and convert the content of dBASE III, IV, and 5.0 files" url="http://sourceforge.net/projects/dbf" arch=('i686' 'x86_64') @@ -9,18 +10,21 @@ license=('GPL') depends=('libdbf') makedepends=('unzip') source=(http://ftp.mirrorservice.org/sites/download.sourceforge.net/pub/sourceforge/d/db/dbf.berlios/dbf-core-0.9.0.src.zip) +source=(dbf-core-0.9.0.src.zip::https://sourceforge.net/projects/dbf/files/dbf%20-%20dBASE%20Reader/dbf-0.9.0/dbf-core-0.9.0.src.zip/download) md5sums=('fb5c016d9e45a95c1956d959792a5063') build() { cd "${srcdir}/$pkgname-core" - chmod +x autogen.sh - rm configure install-sh depcomp missing - ./autogen.sh && ./configure --prefix=/usr - make || return 1 + rm -f configure install-sh depcomp missing + sed -r -i 's,AM_GLIB_GNU_GETTEXT,AM_GNU_GETTEXT_VERSION([0.19.8])\nAM_GNU_GETTEXT([external]),' configure.in + mv configure.in configure.ac + autoreconf -fiv + intltoolize --copy --force + ./configure --prefix=/usr + make } package() { - cd "${srcdir}/$pkgname-core" - make DESTDIR="${pkgdir}" install - find "${pkgdir}" -name '*.la' -exec rm {} \; + cd "${srcdir}/$pkgname-core" + make DESTDIR="${pkgdir}" install } |