core/gdbm/PKGBUILD
Jan Mette 0ae13fefd0
2010-03-21 20:46:45 +00:00

27 lines
1007 B
Bash

# $Id: PKGBUILD 38726 2009-05-10 07:55:06Z tpowa $
# Maintainer: judd <jvinet@zeroflux.org>
pkgname=gdbm
pkgver=1.8.3
pkgrel=7
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)
install=gdbm.install
options=(!libtool)
md5sums=('1d1b1d5c0245b1c00aff92da751e9aa1')
build() {
cd $srcdir/$pkgname-$pkgver
./configure --prefix=/usr --mandir=/usr/share/man --infodir=/usr/share/info
make prefix=/usr || return 1
make prefix=$pkgdir/usr manprefix=$pkgdir/usr/share/man man3dir=$pkgdir/usr/share/man/man3 infodir=$pkgdir/usr/share/info install
make prefix=$pkgdir/usr manprefix=$pkgdir/usr/share/man man3dir=$pkgdir/usr/share/man/man3 infodir=$pkgdir/usr/share/info install-compat
chown root.root $pkgdir/usr/include/{dbm.h,gdbm.h,ndbm.h}
chown root.root $pkgdir/usr/share/man/man3/gdbm.3
chown root.root $pkgdir/usr/share/info/gdbm.info
}