diff options
author | James Meyer <james.meyer@operamail.com> | 2012-08-07 14:42:05 (GMT) |
---|---|---|
committer | James Meyer <james.meyer@operamail.com> | 2012-08-07 14:42:05 (GMT) |
commit | 8611d3462e682f1796a766f24ef4566bb64ddde2 (patch) | |
tree | 35e04a977e2a4aabab1b271b67f41a88e6c3f966 | |
parent | 1feffcd4c2b95107f4d2b0c807b0bfb9ddff1eb1 (diff) | |
download | linhes_pkgbuild-8611d3462e682f1796a766f24ef4566bb64ddde2.zip linhes_pkgbuild-8611d3462e682f1796a766f24ef4566bb64ddde2.tar.gz linhes_pkgbuild-8611d3462e682f1796a766f24ef4566bb64ddde2.tar.bz2 |
libassuan 2.0.3
new
-rw-r--r-- | abs/core/libassuan/PKGBUILD | 31 | ||||
-rw-r--r-- | abs/core/libassuan/libassuan.install | 20 |
2 files changed, 51 insertions, 0 deletions
diff --git a/abs/core/libassuan/PKGBUILD b/abs/core/libassuan/PKGBUILD new file mode 100644 index 0000000..12e79ce --- /dev/null +++ b/abs/core/libassuan/PKGBUILD @@ -0,0 +1,31 @@ +# $Id: PKGBUILD 146745 2012-01-16 22:52:52Z dreisner $ +# Maintainer: Tobias Powalowski <tpowa@archlinux.org> + +pkgname=libassuan +pkgver=2.0.3 +pkgrel=1 +pkgdesc="A IPC library used by some GnuPG related software" +arch=('i686' 'x86_64') +license=('GPL') +url="http://www.gnupg.org/related_software/libassuan" +depends=('libgpg-error') +options=('!libtool') +source=(ftp://ftp.gnupg.org/gcrypt/$pkgname/$pkgname-$pkgver.tar.bz2) +install=libassuan.install + +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 +} +md5sums=('179d1918325fdb928c7bd90b8a514fc7') diff --git a/abs/core/libassuan/libassuan.install b/abs/core/libassuan/libassuan.install new file mode 100644 index 0000000..07e2672 --- /dev/null +++ b/abs/core/libassuan/libassuan.install @@ -0,0 +1,20 @@ +infodir=usr/share/info +filelist=(assuan.info) + +post_install() { + [ -x usr/bin/install-info ] || return 0 + for file in ${filelist[@]}; do + install-info $infodir/$file.gz $infodir/dir 2> /dev/null + done +} + +post_upgrade() { + post_install $1 +} + +pre_remove() { + [ -x usr/bin/install-info ] || return 0 + for file in ${filelist[@]}; do + install-info --delete $infodir/$file.gz $infodir/dir 2> /dev/null + done +} |