diff options
author | root <root@rshg054.dnsready.net> | 2011-08-08 23:14:38 +0000 |
---|---|---|
committer | root <root@rshg054.dnsready.net> | 2011-08-08 23:14:38 +0000 |
commit | 2b6f5a28e2e55b46c1169228e1e56f3b18dd08b5 (patch) | |
tree | ebd7dccec211af75c9dfd55560b3e5f61420b784 /extra/dirmngr | |
parent | 665308e50fd95e984da057ab8ddb6505b596b841 (diff) |
Mon Aug 8 23:14:38 UTC 2011
Diffstat (limited to 'extra/dirmngr')
-rw-r--r-- | extra/dirmngr/PKGBUILD | 5 | ||||
-rw-r--r-- | extra/dirmngr/dirmngr.install | 20 |
2 files changed, 23 insertions, 2 deletions
diff --git a/extra/dirmngr/PKGBUILD b/extra/dirmngr/PKGBUILD index e8faa4a88..f2f6b60e5 100644 --- a/extra/dirmngr/PKGBUILD +++ b/extra/dirmngr/PKGBUILD @@ -1,15 +1,16 @@ -# $Id: PKGBUILD 87316 2010-08-12 11:57:22Z tpowa $ +# $Id: PKGBUILD 134465 2011-08-04 06:40:27Z tpowa $ # Maintainer: Tobias Powalowski <tpowa@archlinux.org> pkgname=dirmngr pkgver=1.1.0 -pkgrel=1 +pkgrel=3 pkgdesc="A daemon to handle CRL and certificate requests" arch=('i686' 'x86_64') license=('GPL') url="ftp://ftp.gnupg.org/gcrypt/dirmngr" depends=('libgcrypt' 'libldap' 'libksba' 'libgpg-error' 'libassuan' 'pth') source=(ftp://ftp.gnupg.org/gcrypt/$pkgname/$pkgname-$pkgver.tar.bz2) +install=dirmngr.install build() { cd $srcdir/$pkgname-$pkgver diff --git a/extra/dirmngr/dirmngr.install b/extra/dirmngr/dirmngr.install new file mode 100644 index 000000000..e26e0e7fd --- /dev/null +++ b/extra/dirmngr/dirmngr.install @@ -0,0 +1,20 @@ +infodir=usr/share/info +filelist=(dirmngr.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 +} |