From 07c3371156bc53b54f553bd5aa2a46174c3ea956 Mon Sep 17 00:00:00 2001 From: Michael Hanson Date: Thu, 11 Nov 2010 21:54:04 +0000 Subject: libgpg-error: update to 1.9 for libassuan --- abs/extra/libgpg-error/PKGBUILD | 33 +++++++++++++++++++++++++++++++++ 1 file changed, 33 insertions(+) create mode 100644 abs/extra/libgpg-error/PKGBUILD diff --git a/abs/extra/libgpg-error/PKGBUILD b/abs/extra/libgpg-error/PKGBUILD new file mode 100644 index 0000000..1c12394 --- /dev/null +++ b/abs/extra/libgpg-error/PKGBUILD @@ -0,0 +1,33 @@ +# $Id: PKGBUILD 87301 2010-08-12 05:22:29Z andyrtr $ +# Maintainer: judd + +pkgname=libgpg-error +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=('521b98aa9395e7eaf0ef2236233a0796') + + +build() { + cd "${srcdir}"/${pkgname}-${pkgver} + ./configure --prefix=/usr + make +} + +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 +} + -- cgit v0.12