[arch-commits] Commit in nettle/repos (6 files)

Andreas Radke andyrtr at archlinux.org
Sat Jan 30 17:12:21 UTC 2016


    Date: Saturday, January 30, 2016 @ 18:12:21
  Author: andyrtr
Revision: 258705

archrelease: copy trunk to testing-i686, testing-x86_64

Added:
  nettle/repos/testing-i686/
  nettle/repos/testing-i686/PKGBUILD
    (from rev 258704, nettle/trunk/PKGBUILD)
  nettle/repos/testing-i686/nettle.install
    (from rev 258704, nettle/trunk/nettle.install)
  nettle/repos/testing-x86_64/
  nettle/repos/testing-x86_64/PKGBUILD
    (from rev 258704, nettle/trunk/PKGBUILD)
  nettle/repos/testing-x86_64/nettle.install
    (from rev 258704, 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 258704, nettle/trunk/PKGBUILD)
===================================================================
--- testing-i686/PKGBUILD	                        (rev 0)
+++ testing-i686/PKGBUILD	2016-01-30 17:12:21 UTC (rev 258705)
@@ -0,0 +1,36 @@
+# $Id$
+# Maintainer: Andreas Radke <andyrtr at archlinux.org>
+# Contributor: bender02 at gmx dot com
+
+pkgname=nettle
+pkgver=3.2
+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=('afb15b4764ebf1b4e6d06c62bd4d29e4'
+         'SKIP')
+validpgpkeys=('343C2FF0FBEE5EC2EDBEF399F3599FF828C67298') # Niels Möller <nisse at lysator.liu.se>
+
+
+build() {
+  cd $pkgname-$pkgver
+  ./configure --prefix=/usr \
+    --disable-static
+  make
+}
+
+check() {
+  cd $pkgname-$pkgver
+  make -k check
+}
+
+package() {
+  cd $pkgname-$pkgver
+  make DESTDIR="$pkgdir/" install
+}

Copied: nettle/repos/testing-i686/nettle.install (from rev 258704, nettle/trunk/nettle.install)
===================================================================
--- testing-i686/nettle.install	                        (rev 0)
+++ testing-i686/nettle.install	2016-01-30 17:12:21 UTC (rev 258705)
@@ -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 258704, nettle/trunk/PKGBUILD)
===================================================================
--- testing-x86_64/PKGBUILD	                        (rev 0)
+++ testing-x86_64/PKGBUILD	2016-01-30 17:12:21 UTC (rev 258705)
@@ -0,0 +1,36 @@
+# $Id$
+# Maintainer: Andreas Radke <andyrtr at archlinux.org>
+# Contributor: bender02 at gmx dot com
+
+pkgname=nettle
+pkgver=3.2
+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=('afb15b4764ebf1b4e6d06c62bd4d29e4'
+         'SKIP')
+validpgpkeys=('343C2FF0FBEE5EC2EDBEF399F3599FF828C67298') # Niels Möller <nisse at lysator.liu.se>
+
+
+build() {
+  cd $pkgname-$pkgver
+  ./configure --prefix=/usr \
+    --disable-static
+  make
+}
+
+check() {
+  cd $pkgname-$pkgver
+  make -k check
+}
+
+package() {
+  cd $pkgname-$pkgver
+  make DESTDIR="$pkgdir/" install
+}

Copied: nettle/repos/testing-x86_64/nettle.install (from rev 258704, nettle/trunk/nettle.install)
===================================================================
--- testing-x86_64/nettle.install	                        (rev 0)
+++ testing-x86_64/nettle.install	2016-01-30 17:12:21 UTC (rev 258705)
@@ -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