PKGBUILDs/extra/gperf/PKGBUILD
2009-11-22 03:13:47 -08:00

21 lines
557 B
Bash

# Maintainer: Jan de Groot <jgc@archlinux.org>
pkgname=gperf
pkgver=3.0.4
pkgrel=1
pkgdesc="Perfect hash function generator."
arch=('arm')
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
}