core/gperf/PKGBUILD
Jan Mette e339b8e300
2010-04-04 14:20:41 +00:00

23 lines
615 B
Bash

#$Id: PKGBUILD 37370 2009-05-01 06:37:35Z eric $
#Maintainer: Jan de Groot <jgc@archlinux.org>
pkgname=gperf
pkgver=3.0.4
pkgrel=1
pkgdesc="Perfect hash function generator."
arch=('x86_64' 'i686')
url="http://www.gnu.org/software/gperf/"
license=('GPL3')
depends=('gcc-libs' 'texinfo')
install=gperf.install
source=(ftp://ftp.gnu.org/gnu/gperf/${pkgname}-${pkgver}.tar.gz)
md5sums=('c1f1db32fb6598d6a93e6e88796a8632')
build() {
cd ${srcdir}/${pkgname}-${pkgver}
./configure --prefix=/usr || return 1
make || return 1
make DESTDIR=${pkgdir} install || return 1
gzip ${pkgdir}/usr/share/info/gperf.info
}