[arch-commits] Commit in nettle/trunk (PKGBUILD nettle.install)

2016-04-27 Thread Andreas Radke
Date: Wednesday, April 27, 2016 @ 21:37:44
  Author: andyrtr
Revision: 266331

upgpkg: nettle 3.2-2

Hooks rebuild (part 1)

Modified:
  nettle/trunk/PKGBUILD
Deleted:
  nettle/trunk/nettle.install

+
 PKGBUILD   |3 +--
 nettle.install |   20 
 2 files changed, 1 insertion(+), 22 deletions(-)

Modified: PKGBUILD
===
--- PKGBUILD2016-04-27 19:35:18 UTC (rev 266330)
+++ PKGBUILD2016-04-27 19:37:44 UTC (rev 266331)
@@ -4,12 +4,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')
 checkdepends=('valgrind')
 source=(https://ftp.gnu.org/gnu/$pkgname/$pkgname-$pkgver.tar.gz{,.sig})

Deleted: nettle.install
===
--- nettle.install  2016-04-27 19:35:18 UTC (rev 266330)
+++ nettle.install  2016-04-27 19:37:44 UTC (rev 266331)
@@ -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
-}


[arch-commits] Commit in nettle/trunk (PKGBUILD nettle.install)

2011-07-08 Thread andyrtr
Date: Friday, July 8, 2011 @ 12:53:06
  Author: andyrtr
Revision: 130897

upgpkg: nettle 2.1-1
initial pkg based on the AUR one needed now as default backend for gnutls

Modified:
  nettle/trunk/PKGBUILD
  nettle/trunk/nettle.install

+
 PKGBUILD   |   11 +++
 nettle.install |6 ++
 2 files changed, 9 insertions(+), 8 deletions(-)

Modified: PKGBUILD
===
--- PKGBUILD2011-07-08 16:37:18 UTC (rev 130896)
+++ PKGBUILD2011-07-08 16:53:06 UTC (rev 130897)
@@ -10,12 +10,15 @@
 url="http://www.lysator.liu.se/~nisse/nettle/";
 license=('GPL2')
 install=$pkgname.install
+depends=('gmp')
 source=(ftp://ftp.lysator.liu.se/pub/security/lsh/$pkgname-$pkgver.tar.gz)
 md5sums=('2bfaf16234a5d8deb96cd23f53a682bb')
 
 build() {
   cd "$srcdir/$pkgname-$pkgver"
-  ./configure --prefix=/usr --enable-shared
+  ./configure --prefix=/usr --libdir=/usr/lib \
+   --enable-shared \
+   --disable-static # <-- seems not working now
   make
 }
 
@@ -27,7 +30,7 @@
 package() {
   cd "$srcdir/$pkgname-$pkgver"
   make DESTDIR="$pkgdir/" install
-  rm $pkgdir/usr/share/info/dir
+  
+  # remove static libs
+  rm -f ${pkgdir}/usr/lib/{libhogweed,libnettle}.a
 }
-
-# vim:set ts=2 sw=2 et:

Modified: nettle.install
===
--- nettle.install  2011-07-08 16:37:18 UTC (rev 130896)
+++ nettle.install  2011-07-08 16:53:06 UTC (rev 130897)
@@ -4,7 +4,7 @@
 post_install() {
   [ -x usr/bin/install-info ] || return 0
   for file in ${filelist[@]}; do
-! [ -f $infodir/$file ] || install-info $infodir/$file $infodir/dir 2> 
/dev/null
+install-info $infodir/$file.gz $infodir/dir 2> /dev/null
   done
 }
 
@@ -15,8 +15,6 @@
 pre_remove() {
   [ -x usr/bin/install-info ] || return 0
   for file in ${filelist[@]}; do
-! [ -f $infodir/$file ] || install-info --delete $infodir/$file 
$infodir/dir 2> /dev/null
+install-info --delete $infodir/$file.gz $infodir/dir 2> /dev/null
   done
 }
-
-# vim:set ts=2 sw=2 et: