From 16f36c557a83430f8d1aee0e86bd9ce03a900242 Mon Sep 17 00:00:00 2001
From: Michael Hanson <hansonorders@verizon.net>
Date: Thu, 2 Dec 2010 03:50:19 +0000
Subject: ipw3945d: recompile

---
 abs/core/ipw3945d/PKGBUILD | 22 +++++++++++-----------
 1 file changed, 11 insertions(+), 11 deletions(-)

diff --git a/abs/core/ipw3945d/PKGBUILD b/abs/core/ipw3945d/PKGBUILD
index 07e9043..5a9351b 100644
--- a/abs/core/ipw3945d/PKGBUILD
+++ b/abs/core/ipw3945d/PKGBUILD
@@ -4,25 +4,25 @@
 
 pkgname=ipw3945d
 pkgver=1.7.22
-pkgrel=4
+pkgrel=5
 pkgdesc="Regulatory daemon for IPW3945"
-arch=(i686 x86_64)
+arch=('i686' 'x86_64')
 url="http://www.bughost.org/ipw3945"
-license=""
+license=('custom')
 depends=('glibc')
 install=ipw3945d.install
-source=(http://www.bughost.org/ipw3945/daemon/$pkgname-$pkgver.tgz ipw3945d.rc)
+source=(http://www.bughost.org/ipw3945/daemon/${pkgname}-${pkgver}.tgz ipw3945d.rc)
 
 build() {
-  cd $startdir/src/$pkgname-$pkgver
+  cd ${srcdir}/${pkgname}-${pkgver}
   #Install daemon w/ Arch specific fix
   if [ "$CARCH" = "x86_64" ]; then
-  install -D -m 755 x86_64/ipw3945d $startdir/pkg/sbin/ipw3945d
-  else install -D -m 755 x86/ipw3945d $startdir/pkg/sbin/ipw3945d
+  install -D -m 755 x86_64/ipw3945d ${pkgdir}/sbin/ipw3945d
+  else install -D -m 755 x86/ipw3945d ${pkgdir}/sbin/ipw3945d
   fi
   # Install license
-  install -D -m 644 LICENSE.ipw3945d $startdir/pkg/usr/share/licenses/$pkgname/LICENSE
-  install -m755 -D $startdir/src/ipw3945d.rc $startdir/pkg/etc/rc.d/ipw3945d || return 
+  install -D -m 644 LICENSE.ipw3945d ${pkgdir}/usr/share/licenses/$pkgname/LICENSE
+  install -m755 -D ${srcdir}/ipw3945d.rc ${pkgdir}/etc/rc.d/ipw3945d || return 
 }
-
-md5sums=('097888f5be05eb2b9b87dcdbeeb948ce' '72aafd7cba214592de6175974a48b4f9')
+md5sums=('097888f5be05eb2b9b87dcdbeeb948ce'
+         '72aafd7cba214592de6175974a48b4f9')
-- 
cgit v0.12

