diff options
author | Nicolas Reynolds <fauno@kiwwwi.com.ar> | 2011-08-09 09:29:16 -0300 |
---|---|---|
committer | Nicolas Reynolds <fauno@kiwwwi.com.ar> | 2011-08-09 09:29:16 -0300 |
commit | bf27698570c0232bdabb1f9d4636e13829648264 (patch) | |
tree | c5f6187b28bd8e011583c4d24979054af2136839 /extra/pinentry | |
parent | 8b82a3250aa4e181b97e7faeb055a00e718bdadb (diff) | |
parent | 2b6f5a28e2e55b46c1169228e1e56f3b18dd08b5 (diff) |
Merge branch 'master' of ssh://vparabola/home/parabola/abslibre-pre-mips64el
Conflicts:
community/open-vm-tools-modules/PKGBUILD
community/virtualbox/PKGBUILD
core/lilo/PKGBUILD
core/lilo/lilo.conf
core/pam/PKGBUILD
core/syslinux/PKGBUILD
core/syslinux/syslinux.cfg
extra/ethtool/PKGBUILD
extra/libksba/PKGBUILD
extra/lirc/PKGBUILD
Diffstat (limited to 'extra/pinentry')
-rw-r--r-- | extra/pinentry/PKGBUILD | 5 | ||||
-rw-r--r-- | extra/pinentry/pinentry.install | 20 |
2 files changed, 23 insertions, 2 deletions
diff --git a/extra/pinentry/PKGBUILD b/extra/pinentry/PKGBUILD index 070e32577..bdcfe0751 100644 --- a/extra/pinentry/PKGBUILD +++ b/extra/pinentry/PKGBUILD @@ -1,8 +1,8 @@ -# $Id: PKGBUILD 106680 2011-01-17 20:41:54Z tpowa $ +# $Id: PKGBUILD 131244 2011-07-12 07:40:08Z tpowa $ # Maintainer: Tobias Powalowski <tpowa@archlinux.org> pkgname=pinentry pkgver=0.8.1 -pkgrel=1 +pkgrel=2 pkgdesc="a collection of simple PIN or passphrase entry dialogs which utilize the Assuan protocol" arch=('i686' 'x86_64' 'mips64el') license=('GPL') @@ -15,6 +15,7 @@ optdepends=('gtk: for gtk backend' 'qt: for qt4 backend') source=(ftp://ftp.gnupg.org/gcrypt/$pkgname/$pkgname-$pkgver.tar.gz gtk2-pinentry-segfault.patch) +install=pinentry.install build() { cd $startdir/src/$pkgname-$pkgver diff --git a/extra/pinentry/pinentry.install b/extra/pinentry/pinentry.install new file mode 100644 index 000000000..eed2c7124 --- /dev/null +++ b/extra/pinentry/pinentry.install @@ -0,0 +1,20 @@ +infodir=usr/share/info +filelist=(pinentry.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 +} |