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

andyrtr at archlinux.org andyrtr at archlinux.org
Wed Aug 11 16:57:14 EDT 2010


    Date: Wednesday, August 11, 2010 @ 16:57:14
  Author: andyrtr
Revision: 87291

upgpkg: libgpg-error 1.9-1
new version 1.9; static lib has been removed upstream and shouldn't be needed anymore

Modified:
  libgpg-error/trunk/PKGBUILD

----------+
 PKGBUILD |   26 +++++++++++++++-----------
 1 file changed, 15 insertions(+), 11 deletions(-)

Modified: PKGBUILD
===================================================================
--- PKGBUILD	2010-08-11 20:56:01 UTC (rev 87290)
+++ PKGBUILD	2010-08-11 20:57:14 UTC (rev 87291)
@@ -2,27 +2,31 @@
 # Maintainer: judd <jvinet at zeroflux.org>
 
 pkgname=libgpg-error
-pkgver=1.7
-pkgrel=3
+pkgver=1.9
+pkgrel=1
 pkgdesc="Support library for libgcrypt"
 arch=(i686 x86_64)
 url="http://www.gnupg.org"
 license=('LGPL')
 depends=('glibc' 'sh')
 options=(!libtool)
-source=(#ftp://ftp.gnupg.org/gcrypt/libgpg-error/${pkgname}-${pkgver}.tar.bz2
-	ftp://ftp.franken.de/pub/crypt/mirror/ftp.gnupg.org/gcrypt/libgpg-error/${pkgname}-${pkgver}.tar.bz2)
-md5sums=('62c0d09d1e76c5b6da8fff92314c4665')
+source=(ftp://ftp.gnupg.org/gcrypt/libgpg-error/${pkgname}-${pkgver}.tar.bz2)
+	#ftp://ftp.franken.de/pub/crypt/mirror/ftp.gnupg.org/gcrypt/libgpg-error/${pkgname}-${pkgver}.tar.bz2)
+md5sums=('521b98aa9395e7eaf0ef2236233a0796')
 
+
 build() {
   cd "${srcdir}"/${pkgname}-${pkgver}
-  # keep static lib for crypsetup
   ./configure --prefix=/usr
-  make || return 1
-  make DESTDIR="${pkgdir}/" install || return 1
+  make
+}
 
+package() {
+  cd "${srcdir}"/${pkgname}-${pkgver}
+  make DESTDIR="${pkgdir}/" install
+
   # Move dynamic libraries to /lib
-  install -d -m755 "${pkgdir}"/lib/ || return 1
-  mv "${pkgdir}"/usr/lib/libgpg-error.so* "${pkgdir}"/lib/ || return 1
-  ln -sf /lib/libgpg-error.so "${pkgdir}"/usr/lib/libgpg-error.so || return 1
+  install -d -m755 "${pkgdir}"/lib/
+  mv "${pkgdir}"/usr/lib/libgpg-error.so* "${pkgdir}"/lib/
+  ln -sf /lib/libgpg-error.so "${pkgdir}"/usr/lib/libgpg-error.so
 }



More information about the arch-commits mailing list