summaryrefslogtreecommitdiffstats
path: root/abs/core/gperf/PKGBUILD
blob: b7f186fde299636e5927c9b006635491ed4d85cd (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
#$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
}
package() {
  cd ${srcdir}/${pkgname}-${pkgver}
  make DESTDIR=${pkgdir} install || return 1
  gzip ${pkgdir}/usr/share/info/gperf.info
}