diff options
author | Michael Hanson <hansonorders@verizon.net> | 2010-11-11 22:21:38 (GMT) |
---|---|---|
committer | Michael Hanson <hansonorders@verizon.net> | 2010-11-11 22:21:38 (GMT) |
commit | 386a850e0eab15d45580640521bff4be2b0e198d (patch) | |
tree | 7385b1abb32fa41f89844143d2abd9eeb12e1afa /abs/core | |
parent | ec9faf2fb43a699a806fb711c5a839be75ad2489 (diff) | |
download | linhes_pkgbuild-386a850e0eab15d45580640521bff4be2b0e198d.zip linhes_pkgbuild-386a850e0eab15d45580640521bff4be2b0e198d.tar.gz linhes_pkgbuild-386a850e0eab15d45580640521bff4be2b0e198d.tar.bz2 |
libgpg-error: move into core
Diffstat (limited to 'abs/core')
-rw-r--r-- | abs/core/libgpg-error/PKGBUILD | 29 |
1 files changed, 17 insertions, 12 deletions
diff --git a/abs/core/libgpg-error/PKGBUILD b/abs/core/libgpg-error/PKGBUILD index b7083bb..1c12394 100644 --- a/abs/core/libgpg-error/PKGBUILD +++ b/abs/core/libgpg-error/PKGBUILD @@ -1,28 +1,33 @@ -# $Id: PKGBUILD 80074 2010-05-10 21:13:12Z thomas $ +# $Id: PKGBUILD 87301 2010-08-12 05:22:29Z andyrtr $ # Maintainer: judd <jvinet@zeroflux.org> pkgname=libgpg-error -pkgver=1.7 -pkgrel=3 +pkgver=1.9 +pkgrel=2 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 } + |