From 6016ae1748f867b838c917f551aac9add83d4801 Mon Sep 17 00:00:00 2001 From: James Meyer Date: Tue, 7 Aug 2012 10:01:41 -0500 Subject: libksba: 1.2.0 new --- abs/core/libksba/PKGBUILD | 32 ++++++++++++++++++++++++++++++++ abs/core/libksba/libksba.install | 20 ++++++++++++++++++++ 2 files changed, 52 insertions(+) create mode 100644 abs/core/libksba/PKGBUILD create mode 100644 abs/core/libksba/libksba.install diff --git a/abs/core/libksba/PKGBUILD b/abs/core/libksba/PKGBUILD new file mode 100644 index 0000000..505a606 --- /dev/null +++ b/abs/core/libksba/PKGBUILD @@ -0,0 +1,32 @@ +# $Id: PKGBUILD 149815 2012-02-11 07:14:25Z tpowa $ +# Maintainer: damir +# Contributor: Damir Perisa + +pkgname=libksba +pkgver=1.2.0 +pkgrel=2 +pkgdesc="A CMS and X.509 access library" +arch=(i686 x86_64) +license=('GPL') +url="ftp://ftp.gnupg.org/gcrypt/alpha/libksba" +depends=('bash' 'libgpg-error' 'glibc') +source=(ftp://ftp.gnupg.org/gcrypt/$pkgname/$pkgname-$pkgver.tar.bz2) +options=(!libtool) +install=libksba.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=('e797f370b69b4dc776499d6a071ae137') diff --git a/abs/core/libksba/libksba.install b/abs/core/libksba/libksba.install new file mode 100644 index 0000000..3715b89 --- /dev/null +++ b/abs/core/libksba/libksba.install @@ -0,0 +1,20 @@ +infodir=usr/share/info +filelist=(ksba.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 +} -- cgit v0.12