summaryrefslogtreecommitdiff
path: root/extra/gperf
diff options
context:
space:
mode:
authorroot <root@rshg054.dnsready.net>2011-10-18 23:14:49 +0000
committerroot <root@rshg054.dnsready.net>2011-10-18 23:14:49 +0000
commit791dde5091677cd6370690f9df9fb7cbdcfe0968 (patch)
tree44b8403e7782995a56c22f0fdacd13b227667bb1 /extra/gperf
parentc4f201fd7208805c7ee00e0ee833d3cc505898ac (diff)
Tue Oct 18 23:14:48 UTC 2011
Diffstat (limited to 'extra/gperf')
-rw-r--r--extra/gperf/PKGBUILD16
-rw-r--r--extra/gperf/gperf.install2
2 files changed, 12 insertions, 6 deletions
diff --git a/extra/gperf/PKGBUILD b/extra/gperf/PKGBUILD
index fa560e23b..7c3ec52bc 100644
--- a/extra/gperf/PKGBUILD
+++ b/extra/gperf/PKGBUILD
@@ -1,18 +1,20 @@
-# $Id: PKGBUILD 125923 2011-05-31 21:45:14Z andrea $
+# $Id: PKGBUILD 140657 2011-10-17 19:09:57Z andrea $
# Maintainer:
# Contributor: Jan de Groot <jgc@archlinux.org>
pkgname=gperf
pkgver=3.0.4
-pkgrel=3
+pkgrel=4
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=("http://ftp.gnu.org/pub/gnu/gperf/${pkgname}-${pkgver}.tar.gz")
-md5sums=('c1f1db32fb6598d6a93e6e88796a8632')
+source=("http://ftp.gnu.org/pub/gnu/gperf/${pkgname}-${pkgver}.tar.gz"{,.sig})
+sha1sums=('e32d4aff8f0c730c9a56554377b2c6d82d0951b8'
+ '85b8c44964a70a63d751afa5906796a0417e64ce')
+options=('!makeflags')
build() {
cd "${srcdir}"/${pkgname}-${pkgver}
@@ -21,8 +23,12 @@ build() {
make
}
+check() {
+ cd "${srcdir}"/${pkgname}-${pkgver}
+ make check
+}
+
package() {
cd "${srcdir}"/${pkgname}-${pkgver}
make DESTDIR="${pkgdir}" install
- gzip "${pkgdir}"/usr/share/info/gperf.info
}
diff --git a/extra/gperf/gperf.install b/extra/gperf/gperf.install
index cdb8f9de8..90ac2a86d 100644
--- a/extra/gperf/gperf.install
+++ b/extra/gperf/gperf.install
@@ -1,4 +1,4 @@
-infodir=/usr/share/info
+infodir=usr/share/info
file=gperf.info.gz
post_install() {