mirror of
https://github.com/archlinuxarm/PKGBUILDs.git
synced 2025-03-19 00:21:40 +00:00
core/nettle to 3.2-2
This commit is contained in:
parent
67b5dce20c
commit
e1366f4d30
2 changed files with 1 additions and 22 deletions
|
@ -7,12 +7,11 @@
|
||||||
|
|
||||||
pkgname=nettle
|
pkgname=nettle
|
||||||
pkgver=3.2
|
pkgver=3.2
|
||||||
pkgrel=1
|
pkgrel=2
|
||||||
pkgdesc="A low-level cryptographic library"
|
pkgdesc="A low-level cryptographic library"
|
||||||
arch=('i686' 'x86_64')
|
arch=('i686' 'x86_64')
|
||||||
url="http://www.lysator.liu.se/~nisse/nettle/"
|
url="http://www.lysator.liu.se/~nisse/nettle/"
|
||||||
license=('GPL2')
|
license=('GPL2')
|
||||||
install=$pkgname.install
|
|
||||||
depends=('gmp')
|
depends=('gmp')
|
||||||
source=(https://ftp.gnu.org/gnu/$pkgname/$pkgname-$pkgver.tar.gz{,.sig})
|
source=(https://ftp.gnu.org/gnu/$pkgname/$pkgname-$pkgver.tar.gz{,.sig})
|
||||||
md5sums=('afb15b4764ebf1b4e6d06c62bd4d29e4'
|
md5sums=('afb15b4764ebf1b4e6d06c62bd4d29e4'
|
||||||
|
|
|
@ -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
|
|
||||||
}
|
|
Loading…
Reference in a new issue