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

andyrtr at archlinux.org andyrtr at archlinux.org
Fri Jul 8 10:06:03 EDT 2011


    Date: Friday, July 8, 2011 @ 10:06:03
  Author: andyrtr
Revision: 130865

upgpkg: libgcrypt 1.5.0-1
upstream update 1.5.0; enable new aes-ni extensions only on x86_64 system, gives test suite failures on i686

Modified:
  libgcrypt/trunk/PKGBUILD
  libgcrypt/trunk/libgcrypt.install

-------------------+
 PKGBUILD          |   11 ++++++-----
 libgcrypt.install |    2 +-
 2 files changed, 7 insertions(+), 6 deletions(-)

Modified: PKGBUILD
===================================================================
--- PKGBUILD	2011-07-08 13:07:51 UTC (rev 130864)
+++ PKGBUILD	2011-07-08 14:06:03 UTC (rev 130865)
@@ -2,8 +2,8 @@
 # Maintainer: Andreas Radke <andyrtr at archlinux.org>
 
 pkgname=libgcrypt
-pkgver=1.4.6
-pkgrel=3
+pkgver=1.5.0
+pkgrel=1
 pkgdesc="a general purpose crypto library based on the code used"
 arch=(i686 x86_64)
 url="http://www.gnupg.org"
@@ -14,19 +14,20 @@
 source=(ftp://ftp.gnupg.org/gcrypt/${pkgname}/${pkgname}-${pkgver}.tar.bz2
 	#ftp://ftp.franken.de/pub/crypt/mirror/ftp.gnupg.org/gcrypt/libgcrypt/${pkgname}-${pkgver}.tar.bz2
 )
-md5sums=('dbf99425a4fe9217c84ce3a35d938634')
+sha1sums=('3e776d44375dc1a710560b98ae8437d5da6e32cf')
 
 build() {
   cd ${srcdir}/${pkgname}-${pkgver}
+  [ "$CARCH" = "i686" ] && EXTRAFLAGS="--disable-aesni-support"
   ./configure --prefix=/usr \
 	--disable-static \
-	--disable-padlock-support
+	--disable-padlock-support $EXTRAFLAGS
   make
 }
 
 check() {
   cd ${srcdir}/${pkgname}-${pkgver}
-  make check
+  make -k check
 }
 
 package() {

Modified: libgcrypt.install
===================================================================
--- libgcrypt.install	2011-07-08 13:07:51 UTC (rev 130864)
+++ libgcrypt.install	2011-07-08 14:06:03 UTC (rev 130865)
@@ -1,5 +1,5 @@
 infodir=/usr/share/info
-filelist=(gcrypt.info.gz)
+filelist=(gcrypt.info.gz gcrypt.info-1.gz)
 
 post_install() {
   [ -x usr/bin/install-info ] || return 0



More information about the arch-commits mailing list