[arch-commits] Commit in libnet/trunk (PKGBUILD)

Eric Bélanger eric at archlinux.org
Sun Sep 13 04:18:17 UTC 2009


    Date: Sunday, September 13, 2009 @ 00:18:17
  Author: eric
Revision: 51883

upgpkg: libnet 1.1.4-1
    Upstream update, Updated url, libtool-slay

Modified:
  libnet/trunk/PKGBUILD

----------+
 PKGBUILD |   21 ++++++++++-----------
 1 file changed, 10 insertions(+), 11 deletions(-)

Modified: PKGBUILD
===================================================================
--- PKGBUILD	2009-09-13 03:25:45 UTC (rev 51882)
+++ PKGBUILD	2009-09-13 04:18:17 UTC (rev 51883)
@@ -2,23 +2,22 @@
 # Maintainer: damir <damir at archlinux.org>
 
 pkgname=libnet
-pkgver=1.1.2.1
-pkgrel=2
+pkgver=1.1.4
+pkgrel=1
 pkgdesc="A library which provides API for commonly used low-level net functions."
 arch=('i686' 'x86_64')
-url="http://www.packetfactory.net/libnet"
+url="http://sourceforge.net/projects/libnet-dev/"
 license=('BSD')
 depends=('glibc')
-source=(http://www.packetfactory.net/libnet/dist/$pkgname-$pkgver.tar.gz)
-md5sums=('be845c41170d72c7db524f3411b50256')
+options=('!libtool')
+source=(http://sourceforge.net/projects/libnet-dev/files/libnet-dev/${pkgname}-${pkgver}.tar.gz)
+md5sums=('c5e06418a89cc4209f677a776a798fd9')
+sha1sums=('86a2f75b52c5b15dbd41c3e03356167de9c883e4')
 
 build() {
-  cd $srcdir/$pkgname
+  cd "${srcdir}/${pkgname}-${pkgver}"
   ./configure --prefix=/usr || return 1
   make CFLAGS="${CFLAGS} -fPIC"  || return 1
-  make DESTDIR=$pkgdir install || return 1
-  install -D -m755 libnet-config $pkgdir/usr/bin/libnet-config || return 1
-  install -d $pkgdir/usr/share/man/man3
-  install -m644 doc/man/man3/* $pkgdir/usr/share/man/man3/
-  install -D -m644 doc/COPYING $pkgdir/usr/share/licenses/$pkgname/LICENSE || return 1
+  make DESTDIR="${pkgdir}" install || return 1
+  install -D -m644 doc/COPYING "${pkgdir}/usr/share/licenses/${pkgname}/LICENSE" || return 1
 }




More information about the arch-commits mailing list