[arch-commits] Commit in nettle/repos (6 files)
Andreas Radke
andyrtr at archlinux.org
Sat Apr 25 18:40:34 UTC 2015
Date: Saturday, April 25, 2015 @ 20:40:34
Author: andyrtr
Revision: 238039
archrelease: copy trunk to testing-i686, testing-x86_64
Added:
nettle/repos/testing-i686/
nettle/repos/testing-i686/PKGBUILD
(from rev 238038, nettle/trunk/PKGBUILD)
nettle/repos/testing-i686/nettle.install
(from rev 238038, nettle/trunk/nettle.install)
nettle/repos/testing-x86_64/
nettle/repos/testing-x86_64/PKGBUILD
(from rev 238038, nettle/trunk/PKGBUILD)
nettle/repos/testing-x86_64/nettle.install
(from rev 238038, nettle/trunk/nettle.install)
-------------------------------+
testing-i686/PKGBUILD | 36 ++++++++++++++++++++++++++++++++++++
testing-i686/nettle.install | 20 ++++++++++++++++++++
testing-x86_64/PKGBUILD | 36 ++++++++++++++++++++++++++++++++++++
testing-x86_64/nettle.install | 20 ++++++++++++++++++++
4 files changed, 112 insertions(+)
Copied: nettle/repos/testing-i686/PKGBUILD (from rev 238038, nettle/trunk/PKGBUILD)
===================================================================
--- testing-i686/PKGBUILD (rev 0)
+++ testing-i686/PKGBUILD 2015-04-25 18:40:34 UTC (rev 238039)
@@ -0,0 +1,36 @@
+# $Id$
+# Maintainer: Andreas Radke <andyrtr at archlinux.org>
+# Contributor: bender02 at gmx dot com
+
+pkgname=nettle
+pkgver=3.1.1
+pkgrel=1
+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')
+checkdepends=('valgrind')
+source=(https://ftp.gnu.org/gnu/$pkgname/$pkgname-$pkgver.tar.gz{,.sig})
+md5sums=('b40fa88dc32f37a182b6b42092ebb144'
+ 'SKIP')
+validpgpkeys=('343C2FF0FBEE5EC2EDBEF399F3599FF828C67298') # Niels Möller <nisse at lysator.liu.se>
+
+
+build() {
+ cd "$srcdir/$pkgname-$pkgver"
+ ./configure --prefix=/usr \
+ --disable-static
+ make
+}
+
+check() {
+ cd "$srcdir/$pkgname-$pkgver"
+ make -k check
+}
+
+package() {
+ cd "$srcdir/$pkgname-$pkgver"
+ make DESTDIR="$pkgdir/" install
+}
Copied: nettle/repos/testing-i686/nettle.install (from rev 238038, nettle/trunk/nettle.install)
===================================================================
--- testing-i686/nettle.install (rev 0)
+++ testing-i686/nettle.install 2015-04-25 18:40:34 UTC (rev 238039)
@@ -0,0 +1,20 @@
+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
+}
Copied: nettle/repos/testing-x86_64/PKGBUILD (from rev 238038, nettle/trunk/PKGBUILD)
===================================================================
--- testing-x86_64/PKGBUILD (rev 0)
+++ testing-x86_64/PKGBUILD 2015-04-25 18:40:34 UTC (rev 238039)
@@ -0,0 +1,36 @@
+# $Id$
+# Maintainer: Andreas Radke <andyrtr at archlinux.org>
+# Contributor: bender02 at gmx dot com
+
+pkgname=nettle
+pkgver=3.1.1
+pkgrel=1
+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')
+checkdepends=('valgrind')
+source=(https://ftp.gnu.org/gnu/$pkgname/$pkgname-$pkgver.tar.gz{,.sig})
+md5sums=('b40fa88dc32f37a182b6b42092ebb144'
+ 'SKIP')
+validpgpkeys=('343C2FF0FBEE5EC2EDBEF399F3599FF828C67298') # Niels Möller <nisse at lysator.liu.se>
+
+
+build() {
+ cd "$srcdir/$pkgname-$pkgver"
+ ./configure --prefix=/usr \
+ --disable-static
+ make
+}
+
+check() {
+ cd "$srcdir/$pkgname-$pkgver"
+ make -k check
+}
+
+package() {
+ cd "$srcdir/$pkgname-$pkgver"
+ make DESTDIR="$pkgdir/" install
+}
Copied: nettle/repos/testing-x86_64/nettle.install (from rev 238038, nettle/trunk/nettle.install)
===================================================================
--- testing-x86_64/nettle.install (rev 0)
+++ testing-x86_64/nettle.install 2015-04-25 18:40:34 UTC (rev 238039)
@@ -0,0 +1,20 @@
+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
+}
More information about the arch-commits
mailing list