summaryrefslogtreecommitdiffstats
path: root/abs/extra/iw/PKGBUILD
diff options
context:
space:
mode:
Diffstat (limited to 'abs/extra/iw/PKGBUILD')
-rw-r--r--abs/extra/iw/PKGBUILD22
1 files changed, 13 insertions, 9 deletions
diff --git a/abs/extra/iw/PKGBUILD b/abs/extra/iw/PKGBUILD
index 2f66bdc..86b6865 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
-pkgrel=1
+pkgver=3.0
+pkgrel=2
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')