summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--abs/extra/iw/PKGBUILD20
1 files changed, 12 insertions, 8 deletions
diff --git a/abs/extra/iw/PKGBUILD b/abs/extra/iw/PKGBUILD
index 2f66bdc..f2a58f3 100644
--- a/abs/extra/iw/PKGBUILD
+++ b/abs/extra/iw/PKGBUILD
@@ -1,20 +1,24 @@
-# $Id: PKGBUILD 24436 2009-01-17 00:02:46Z thomas $
-# Maintainer: Thomas Baechler <thomas@archlinux.org>
+# $Id: PKGBUILD 135526 2011-08-14 20:37:19Z thomas $
+# Maintainer: Thomas Bächler <thomas@archlinux.org>
pkgname=iw
-pkgver=0.9.20
+pkgver=3.0
pkgrel=1
pkgdesc="nl80211 based CLI configuration utility for wireless devices"
arch=("i686" "x86_64")
-url="http://www.linuxwireless.org/en/users/Documentation/iw"
+url="http://wireless.kernel.org/en/users/Documentation/iw"
license=("GPL")
depends=("libnl")
makedepends=("kernel-headers")
source=(http://wireless.kernel.org/download/$pkgname/$pkgname-$pkgver.tar.bz2)
+sha256sums=('a0ccbf1ce71ae4bdb05495ca18ab00a87c06dce2c3bf8b8358c615e60c4632fb')
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
}
-md5sums=('1055799b544b3e08169d155bb6c21bb0')