Date: Thursday, July 15, 2010 @ 17:16:57 Author: andyrtr Revision: 85547
upgpkg: libgcrypt 1.4.6-1 new version 1.4.6 Modified: libgcrypt/trunk/PKGBUILD ----------+ PKGBUILD | 19 ++++++++++++------- 1 file changed, 12 insertions(+), 7 deletions(-) Modified: PKGBUILD =================================================================== --- PKGBUILD 2010-07-15 18:51:41 UTC (rev 85546) +++ PKGBUILD 2010-07-15 21:16:57 UTC (rev 85547) @@ -2,25 +2,30 @@ # Maintainer: Andreas Radke <andy...@archlinux.org> pkgname=libgcrypt -pkgver=1.4.5 -pkgrel=2 +pkgver=1.4.6 +pkgrel=1 pkgdesc="a general purpose crypto library based on the code used" arch=(i686 x86_64) url="http://www.gnupg.org" license=('LGPL') depends=('libgpg-error>=1.7') options=(!libtool) -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=('cc2017ad09b4543f8b3b5e9a53cfd89d') +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') build() { cd ${srcdir}/${pkgname}-${pkgver} # keep static library for , needed for cryptsetup ./configure --prefix=/usr --disable-padlock-support - 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/libgcrypt.so* "${pkgdir}"/lib/ || return 1