summaryrefslogtreecommitdiff
path: root/staging/nettle
diff options
context:
space:
mode:
Diffstat (limited to 'staging/nettle')
-rw-r--r--staging/nettle/PKGBUILD36
-rw-r--r--staging/nettle/nettle.install20
2 files changed, 0 insertions, 56 deletions
diff --git a/staging/nettle/PKGBUILD b/staging/nettle/PKGBUILD
deleted file mode 100644
index e079a16f8..000000000
--- a/staging/nettle/PKGBUILD
+++ /dev/null
@@ -1,36 +0,0 @@
-# $Id: PKGBUILD 134726 2011-08-07 17:54:31Z andyrtr $
-# Maintainer: Andreas Radke <andyrtr@archlinux.org>
-# Contributor: bender02 at gmx dot com
-
-pkgname=nettle
-pkgver=2.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')
-source=(ftp://ftp.lysator.liu.se/pub/security/lsh/$pkgname-$pkgver.tar.gz)
-md5sums=('9a9c6102eb9909019f8a13b67578cdfe')
-
-build() {
- cd "$srcdir/$pkgname-$pkgver"
- ./configure --prefix=/usr --libdir=/usr/lib \
- --enable-shared \
- --disable-static # <-- seems not working now
- make
-}
-
-check() {
- cd "$srcdir/$pkgname-$pkgver"
- make -k check
-}
-
-package() {
- cd "$srcdir/$pkgname-$pkgver"
- make DESTDIR="$pkgdir/" install
-
- # remove static libs
- rm -f ${pkgdir}/usr/lib/{libhogweed,libnettle}.a
-}
diff --git a/staging/nettle/nettle.install b/staging/nettle/nettle.install
deleted file mode 100644
index 3d19b5f19..000000000
--- a/staging/nettle/nettle.install
+++ /dev/null
@@ -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
-}