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

Andrea Scarpino andrea at archlinux.org
Sat Jan 8 10:09:56 EST 2011


    Date: Saturday, January 8, 2011 @ 10:09:56
  Author: andrea
Revision: 105390

upgpkg: libnet 1.1.5-1
upstream release

Modified:
  libnet/trunk/PKGBUILD

----------+
 PKGBUILD |   28 +++++++++++++++++-----------
 1 file changed, 17 insertions(+), 11 deletions(-)

Modified: PKGBUILD
===================================================================
--- PKGBUILD	2011-01-08 12:20:37 UTC (rev 105389)
+++ PKGBUILD	2011-01-08 15:09:56 UTC (rev 105390)
@@ -1,23 +1,29 @@
 # $Id$
-# Maintainer: damir <damir at archlinux.org>
+# Maintainer:
+# Contributor: damir <damir at archlinux.org>
 
 pkgname=libnet
-pkgver=1.1.4
+pkgver=1.1.5
 pkgrel=1
-pkgdesc="A library which provides API for commonly used low-level net functions."
+pkgdesc="A library which provides API for commonly used low-level net functions"
 arch=('i686' 'x86_64')
 url="http://sourceforge.net/projects/libnet-dev/"
 license=('BSD')
-depends=('glibc')
+depends=('glibc' 'sh')
 options=('!libtool')
-source=(http://sourceforge.net/projects/libnet-dev/files/libnet-dev/${pkgname}-${pkgver}.tar.gz)
-md5sums=('c5e06418a89cc4209f677a776a798fd9')
-sha1sums=('86a2f75b52c5b15dbd41c3e03356167de9c883e4')
+source=(http://downloads.sourceforge.net/libnet-dev/${pkgname}-${pkgver}.tar.gz)
+md5sums=('a9bc1d75a610efcfee200d3e28d8eb8f')
 
 build() {
   cd "${srcdir}/${pkgname}-${pkgver}"
-  ./configure --prefix=/usr || return 1
-  make CFLAGS="${CFLAGS} -fPIC"  || return 1
-  make DESTDIR="${pkgdir}" install || return 1
-  install -D -m644 doc/COPYING "${pkgdir}/usr/share/licenses/${pkgname}/LICENSE" || return 1
+  ./configure --prefix=/usr
+  make CFLAGS="${CFLAGS} -fPIC"
 }
+
+package() {
+  cd "${srcdir}/${pkgname}-${pkgver}"
+  make DESTDIR="${pkgdir}" install
+
+  install -Dm644 doc/COPYING \
+    "${pkgdir}/usr/share/licenses/${pkgname}/LICENSE"
+}



More information about the arch-commits mailing list