diff options
author | Parabola <dev@list.parabolagnulinux.org> | 2011-04-05 14:26:38 +0000 |
---|---|---|
committer | Parabola <dev@list.parabolagnulinux.org> | 2011-04-05 14:26:38 +0000 |
commit | 415856bdd4f48ab4f2732996f0bae58595092bbe (patch) | |
tree | ede2018b591f6dfb477fe9341ba17b9bc000fab9 /testing/libgpg-error/PKGBUILD |
Tue Apr 5 14:26:38 UTC 2011
Diffstat (limited to 'testing/libgpg-error/PKGBUILD')
-rw-r--r-- | testing/libgpg-error/PKGBUILD | 37 |
1 files changed, 37 insertions, 0 deletions
diff --git a/testing/libgpg-error/PKGBUILD b/testing/libgpg-error/PKGBUILD new file mode 100644 index 000000000..cbc32f7b5 --- /dev/null +++ b/testing/libgpg-error/PKGBUILD @@ -0,0 +1,37 @@ +# $Id: PKGBUILD 117845 2011-04-04 18:42:53Z andyrtr $ +# Maintainer: judd <jvinet@zeroflux.org> + +pkgname=libgpg-error +pkgver=1.9 +pkgrel=3 +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=('521b98aa9395e7eaf0ef2236233a0796') + + +build() { + cd "${srcdir}"/${pkgname}-${pkgver} + ./configure --prefix=/usr + make +} + +check() { + cd ${srcdir}/${pkgname}-${pkgver} + make check +} + +package() { + cd "${srcdir}"/${pkgname}-${pkgver} + make DESTDIR="${pkgdir}/" install + + # Move dynamic libraries to /lib + 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 +} |