diff options
Diffstat (limited to 'abs/core/gdbm/PKGBUILD')
-rw-r--r-- | abs/core/gdbm/PKGBUILD | 44 |
1 files changed, 29 insertions, 15 deletions
diff --git a/abs/core/gdbm/PKGBUILD b/abs/core/gdbm/PKGBUILD index 1154818..91744e4 100644 --- a/abs/core/gdbm/PKGBUILD +++ b/abs/core/gdbm/PKGBUILD @@ -1,24 +1,38 @@ -# $Id: PKGBUILD 356 2008-04-18 22:56:27Z aaron $ -# Maintainer: judd <jvinet@zeroflux.org> +# $Id: PKGBUILD 73046 2010-03-22 00:42:44Z allan $ +# Maintainer: Allan McRae <allan@archlinux.org> +# Contributor: judd <jvinet@zeroflux.org> + pkgname=gdbm pkgver=1.8.3 -pkgrel=14 +pkgrel=15 pkgdesc="GNU database library" url="http://www.gnu.org/software/gdbm/gdbm.html" license=('GPL') -arch=(i686 x86_64) -groups=('base') -depends=('glibc') -source=(ftp://ftp.gnu.org/gnu/gdbm/$pkgname-$pkgver.tar.gz) -md5sums=('1d1b1d5c0245b1c00aff92da751e9aa1') +arch=('i686' 'x86_64') +depends=('glibc' 'sh') +source=(ftp://ftp.gnu.org/gnu/gdbm/$pkgname-$pkgver.tar.gz + gdbm-1.8.3-fhs.patch) +options=('!libtool' '!makeflags') +install=gdbm.install build() { - cd $startdir/src/$pkgname-$pkgver - ./configure --prefix=/usr + cd $srcdir/$pkgname-$pkgver + patch -Np1 -i $srcdir/gdbm-1.8.3-fhs.patch + + libtoolize --force --copy + aclocal + autoconf + + ./configure --prefix=/usr --mandir=/usr/share/man --infodir=/usr/share/info make prefix=/usr || return 1 - make prefix=$startdir/pkg/usr install - make prefix=$startdir/pkg/usr install-compat - chown root.root $startdir/pkg/usr/include/{dbm.h,gdbm.h,ndbm.h} - chown root.root $startdir/pkg/usr/man/man3/gdbm.3 - find $startdir/pkg -name '*.la' -exec rm {} \; + + make prefix=$pkgdir/usr \ + manprefix=$pkgdir/usr/share/man \ + man3dir=$pkgdir/usr/share/man/man3 \ + infodir=$pkgdir/usr/share/info \ + install install-compat + + ln -sf gdbm/gdbm.h $pkgdir/usr/include } +md5sums=('1d1b1d5c0245b1c00aff92da751e9aa1' + 'a5bb00f10f4d8317435c4cf471b6ced4') |