diff options
author | Joshua Ismael Haase Hernández <hahj87@gmail.com> | 2011-08-12 02:48:13 -0500 |
---|---|---|
committer | Joshua Ismael Haase Hernández <hahj87@gmail.com> | 2011-08-12 02:48:13 -0500 |
commit | 750ab8ec8f204c3ef69beb2fef182b002bb50955 (patch) | |
tree | 0363c30dd2168542887ec444db9c4eedd8daf8ef /extra/libksba | |
parent | 0afc4e099a178ac36309804d4577fec7f3b7e77b (diff) | |
parent | a6c6f698fc6a97fb10525e5e112d8059555cdf29 (diff) |
Merge branch 'master' of gitpar:abslibre-mips64el
Diffstat (limited to 'extra/libksba')
-rw-r--r-- | extra/libksba/PKGBUILD | 11 | ||||
-rw-r--r-- | extra/libksba/libksba.install | 20 |
2 files changed, 26 insertions, 5 deletions
diff --git a/extra/libksba/PKGBUILD b/extra/libksba/PKGBUILD index 81d627fd9..f6ef17583 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" -arch=(i686 x86_64 'mips64el') +pkgdesc="A CMS and X.509 access library" +arch=(i686 x86_64 mips64el) 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 +} |