# Maintainer: Natanael Copa pkgname=gperf pkgver=3.0.4 pkgrel=3 pkgdesc="Perfect hash function generator." url="http://www.gnu.org/software/gperf/" arch="all" license="GPL" subpackages="$pkgname-doc" depends= makedepends= source="ftp://ftp.gnu.org/gnu/$pkgname/$pkgname-$pkgver.tar.gz" build () { cd "$srcdir"/$pkgname-$pkgver ./configure \ --build=$CBUILD \ --host=$CHOST \ --prefix=/usr \ || return 1 make || return 1 } package() { cd "$srcdir"/$pkgname-$pkgver make DESTDIR="$pkgdir" install } sha512sums="24a65ac93c9d640670b015a76378eb7e0f167bec685d03f7dc68005d5a6d693d98b2189f7a0ab5bb9e5dc700de7d417c215230f9dbe062ba119240a8da535dad gperf-3.0.4.tar.gz"