summaryrefslogtreecommitdiffstats
path: root/abs/core/libksba
diff options
context:
space:
mode:
authorJames Meyer <james.meyer@operamail.com>2012-08-07 15:01:41 (GMT)
committerJames Meyer <james.meyer@operamail.com>2012-08-07 15:01:41 (GMT)
commit6016ae1748f867b838c917f551aac9add83d4801 (patch)
tree263f6f88eabe86c9bafbf687863ccb0c7777b16e /abs/core/libksba
parent39d576c54da7bc036824e336e64cdff604e7b68a (diff)
downloadlinhes_pkgbuild-6016ae1748f867b838c917f551aac9add83d4801.zip
linhes_pkgbuild-6016ae1748f867b838c917f551aac9add83d4801.tar.gz
linhes_pkgbuild-6016ae1748f867b838c917f551aac9add83d4801.tar.bz2
libksba: 1.2.0
new
Diffstat (limited to 'abs/core/libksba')
-rw-r--r--abs/core/libksba/PKGBUILD32
-rw-r--r--abs/core/libksba/libksba.install20
2 files changed, 52 insertions, 0 deletions
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 <damir@archlinux.org>
+# Contributor: Damir Perisa <damir.perisa@bluewin.ch>
+
+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
+}