[arch-commits] Commit in gperf/trunk (PKGBUILD gperf.install)

Andrea Scarpino andrea at archlinux.org
Mon Oct 17 19:09:15 UTC 2011


    Date: Monday, October 17, 2011 @ 15:09:14
  Author: andrea
Revision: 140656

upgpkg: gperf 3.0.4-4

Fix build; add check(); sign package

Modified:
  gperf/trunk/PKGBUILD
  gperf/trunk/gperf.install

---------------+
 PKGBUILD      |   14 ++++++++++----
 gperf.install |    2 +-
 2 files changed, 11 insertions(+), 5 deletions(-)

Modified: PKGBUILD
===================================================================
--- PKGBUILD	2011-10-17 19:02:30 UTC (rev 140655)
+++ PKGBUILD	2011-10-17 19:09:14 UTC (rev 140656)
@@ -4,15 +4,17 @@
 
 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 @@
   make
 }
 
+check() {
+  cd "${srcdir}"/${pkgname}-${pkgver}
+  make check
+}
+
 package() {
   cd "${srcdir}"/${pkgname}-${pkgver}
   make DESTDIR="${pkgdir}" install
-  gzip "${pkgdir}"/usr/share/info/gperf.info
 }

Modified: gperf.install
===================================================================
--- gperf.install	2011-10-17 19:02:30 UTC (rev 140655)
+++ gperf.install	2011-10-17 19:09:14 UTC (rev 140656)
@@ -1,4 +1,4 @@
-infodir=/usr/share/info
+infodir=usr/share/info
 file=gperf.info.gz
 
 post_install() {




More information about the arch-commits mailing list