summaryrefslogtreecommitdiff
path: root/extra/gperf/PKGBUILD
blob: 58bd118a61183390888ea3614884231fbd50cfb3 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
#$Id: PKGBUILD 37369 2009-05-01 06:35:08Z 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
}