core/libgcrypt to 1.7.0-2

This commit is contained in:
Kevin Mihelich 2016-05-01 14:33:10 +00:00
parent 9241dbf1ed
commit 67b5dce20c
2 changed files with 1 additions and 22 deletions

View file

@ -6,14 +6,13 @@
pkgname=libgcrypt
pkgver=1.7.0
pkgrel=1
pkgrel=2
pkgdesc="General purpose cryptographic library based on the code from GnuPG"
arch=(i686 x86_64)
url="http://www.gnupg.org"
license=('LGPL')
depends=('libgpg-error>=1.10-2')
options=('!emptydirs')
install=$pkgname.install
# https://www.gnupg.org/download/integrity_check.html
source=(ftp://ftp.gnupg.org/gcrypt/${pkgname}/${pkgname}-${pkgver}.tar.bz2{,.sig})
sha1sums=('f840b737faafded451a084ae143285ad68bbfb01'

View file

@ -1,20 +0,0 @@
infodir=/usr/share/info
filelist=(gcrypt.info.gz)
post_install() {
[ -x usr/bin/install-info ] || return 0
for file in ${filelist[@]}; do
install-info $infodir/$file $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 $infodir/dir 2> /dev/null
done
}