summaryrefslogtreecommitdiff
path: root/extra/gperf
diff options
context:
space:
mode:
authorroot <root@rshg047.dnsready.net>2011-05-13 22:36:49 +0000
committerroot <root@rshg047.dnsready.net>2011-05-13 22:36:49 +0000
commit2c4629f613c001fd29740d0f4c0e497c771a2182 (patch)
treeddc90e9111a5137677fd53e503992fd12a661ac0 /extra/gperf
parent1982ae8d63ab142a2a16bdf1b055110d9c9f40fd (diff)
Fri May 13 22:36:49 UTC 2011
Diffstat (limited to 'extra/gperf')
-rw-r--r--extra/gperf/PKGBUILD25
1 files changed, 15 insertions, 10 deletions
diff --git a/extra/gperf/PKGBUILD b/extra/gperf/PKGBUILD
index 58bd118a6..ea7f76aaa 100644
--- a/extra/gperf/PKGBUILD
+++ b/extra/gperf/PKGBUILD
@@ -1,22 +1,27 @@
-#$Id: PKGBUILD 37369 2009-05-01 06:35:08Z eric $
-#Maintainer: Jan de Groot <jgc@archlinux.org>
+# $Id: PKGBUILD 123759 2011-05-12 21:02:36Z andrea $
+# Maintainer:
+# Contributor: Jan de Groot <jgc@archlinux.org>
pkgname=gperf
pkgver=3.0.4
-pkgrel=1
-pkgdesc="Perfect hash function generator."
+pkgrel=2
+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)
+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
+ cd "${srcdir}"/${pkgname}-${pkgver}
+ ./configure --prefix=/usr
+ make
+}
+
+package() {
+ cd "${srcdir}"/${pkgname}-${pkgver}
+ make DESTDIR="${pkgdir}" install
+ gzip "${pkgdir}"/usr/share/info/gperf.info
}