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

Thomas Bächler thomas at archlinux.org
Sun Jan 16 09:10:34 EST 2011


    Date: Sunday, January 16, 2011 @ 09:10:33
  Author: thomas
Revision: 106286

Update to 0.9.21 and rebuild against libnl 2

Modified:
  iw/trunk/PKGBUILD

----------+
 PKGBUILD |   14 +++++++++-----
 1 file changed, 9 insertions(+), 5 deletions(-)

Modified: PKGBUILD
===================================================================
--- PKGBUILD	2011-01-16 14:10:00 UTC (rev 106285)
+++ PKGBUILD	2011-01-16 14:10:33 UTC (rev 106286)
@@ -2,7 +2,7 @@
 # Maintainer: Thomas Bächler <thomas at archlinux.org>
 
 pkgname=iw
-pkgver=0.9.20
+pkgver=0.9.21
 pkgrel=1
 pkgdesc="nl80211 based CLI configuration utility for wireless devices"
 arch=("i686" "x86_64")
@@ -11,10 +11,14 @@
 depends=("libnl")
 makedepends=("kernel-headers")
 source=(http://wireless.kernel.org/download/$pkgname/$pkgname-$pkgver.tar.bz2)
-sha256sums=('2d665fbfbe4fd6a40159fb821518fc5337da37448416405b936a393a14cbc7d3')
+sha256sums=('ea345b8ddc96c3c4bb58e0f4cb88c07f0daee214b1356ab194c65e17bde2d60f')
 
 build() {
-  cd $pkgname-$pkgver
-  make || return 1
-  make DESTDIR=$pkgdir install
+  cd "$srcdir"/$pkgname-$pkgver
+  make
 }
+
+package() {
+  cd "$srcdir"/$pkgname-$pkgver
+  make DESTDIR="$pkgdir" install
+}



More information about the arch-commits mailing list