[arch-commits] Commit in gnupg2/trunk (PKGBUILD)

Tobias Powalowski tpowa at archlinux.org
Sat Oct 29 02:26:33 EDT 2011


    Date: Saturday, October 29, 2011 @ 02:26:33
  Author: tpowa
Revision: 141308

function cleanup and add signature

Modified:
  gnupg2/trunk/PKGBUILD

----------+
 PKGBUILD |   12 +++++++++---
 1 file changed, 9 insertions(+), 3 deletions(-)

Modified: PKGBUILD
===================================================================
--- PKGBUILD	2011-10-29 06:24:10 UTC (rev 141307)
+++ PKGBUILD	2011-10-29 06:26:33 UTC (rev 141308)
@@ -12,19 +12,25 @@
 license=('GPL')
 url="http://www.gnupg.org/"
 install=${pkgname}.install
-source=(ftp://ftp.gnupg.org/gcrypt/gnupg/gnupg-$pkgver.tar.bz2)
+source=(ftp://ftp.gnupg.org/gcrypt/gnupg/gnupg-$pkgver.tar.bz2{,.sig})
+sha1sums=('5ec2f718760cc3121970a140aeea004b64545c46'
+          'c1b15a6c204434081e2bd8249dde233b6c88c4d0')
 
 build() {
   cd ${srcdir}/gnupg-$pkgver
-  ./configure --prefix=/usr --libexecdir=/usr/lib/gnupg2 #$EXTRAOPTS
+  ./configure --prefix=/usr --libexecdir=/usr/lib/gnupg2
   make
 }
 
+check() {
+  cd ${srcdir}/gnupg-$pkgver
+  make check
+}
+
 package() {
   cd ${srcdir}/gnupg-$pkgver
   make DESTDIR=${pkgdir} install
   # move conflicting files
   mv ${pkgdir}/usr/share/gnupg{,2}
-  rm -f ${pkgdir}/usr/share/info/dir
 }
 md5sums=('2f37e0722666a0fedbe4d9f9227ac4d7')



More information about the arch-commits mailing list