core/nettle to 3.2-2

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

View file

@ -7,12 +7,11 @@
pkgname=nettle
pkgver=3.2
pkgrel=1
pkgrel=2
pkgdesc="A low-level cryptographic library"
arch=('i686' 'x86_64')
url="http://www.lysator.liu.se/~nisse/nettle/"
license=('GPL2')
install=$pkgname.install
depends=('gmp')
source=(https://ftp.gnu.org/gnu/$pkgname/$pkgname-$pkgver.tar.gz{,.sig})
md5sums=('afb15b4764ebf1b4e6d06c62bd4d29e4'

View file

@ -1,20 +0,0 @@
infodir=/usr/share/info
filelist=(nettle.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
}