summaryrefslogtreecommitdiff
path: root/extra/libksba
diff options
context:
space:
mode:
Diffstat (limited to 'extra/libksba')
-rw-r--r--extra/libksba/PKGBUILD9
-rw-r--r--extra/libksba/libksba.install20
2 files changed, 25 insertions, 4 deletions
diff --git a/extra/libksba/PKGBUILD b/extra/libksba/PKGBUILD
index 4e19d60a7..51f23e123 100644
--- a/extra/libksba/PKGBUILD
+++ b/extra/libksba/PKGBUILD
@@ -1,17 +1,18 @@
-# $Id: PKGBUILD 87317 2010-08-12 11:57:33Z tpowa $
+# $Id: PKGBUILD 134460 2011-08-04 06:38:08Z tpowa $
# Maintainer: damir <damir@archlinux.org>
# Contributor: Damir Perisa <damir.perisa@bluewin.ch>
pkgname=libksba
-pkgver=1.0.8
+pkgver=1.2.0
pkgrel=1
-pkgdesc="Libksba is a CMS and X.509 access library"
+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 $startdir/src/$pkgname-$pkgver
@@ -19,4 +20,4 @@ build() {
make
make DESTDIR=$startdir/pkg install
}
-md5sums=('8acac0b3cbd0030dfc6d0f6a58c9b5b2')
+md5sums=('e797f370b69b4dc776499d6a071ae137')
diff --git a/extra/libksba/libksba.install b/extra/libksba/libksba.install
new file mode 100644
index 000000000..3715b8960
--- /dev/null
+++ b/extra/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
+}