[arch-commits] Commit in gperf/trunk (PKGBUILD)
Andrea Scarpino
andrea at archlinux.org
Thu May 12 21:02:36 UTC 2011
Date: Thursday, May 12, 2011 @ 17:02:36
Author: andrea
Revision: 123759
upgpkg: gperf 3.0.4-2
rebuild old package
Modified:
gperf/trunk/PKGBUILD
----------+
PKGBUILD | 25 +++++++++++++++----------
1 file changed, 15 insertions(+), 10 deletions(-)
Modified: PKGBUILD
===================================================================
--- PKGBUILD 2011-05-12 20:59:08 UTC (rev 123758)
+++ PKGBUILD 2011-05-12 21:02:36 UTC (rev 123759)
@@ -1,22 +1,27 @@
-#$Id$
-#Maintainer: Jan de Groot <jgc at archlinux.org>
+# $Id$
+# Maintainer:
+# Contributor: Jan de Groot <jgc at 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
+}
More information about the arch-commits
mailing list