Skip to content

Instantly share code, notes, and snippets.

@bbidulock
Created November 6, 2018 22:48
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save bbidulock/2962f68ddc03255cc069fc44bc77a287 to your computer and use it in GitHub Desktop.
Save bbidulock/2962f68ddc03255cc069fc44bc77a287 to your computer and use it in GitHub Desktop.
PKGBUILD for dbf
# Maintainer: Jon Ribeiro <contact@jonathas.com>
pkgname=dbf
pkgver=0.9.0
pkgrel=3
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')
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"
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
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment