1 # $Id: PKGBUILD,v 1.13 2007/11/15 23:53:16 daniel Exp $
2 # Maintainer: James Rayner <iphitus@gmail.com>
3 # Contributor: Giovanni Scafora <linuxmania@gmail.com>
8 pkgdesc="Regulatory daemon for IPW3945"
10 url="http://www.bughost.org/ipw3945"
13 install=ipw3945d.install
14 source=(http://www.bughost.org/ipw3945/daemon/$pkgname-$pkgver.tgz ipw3945d.rc)
17 cd $startdir/src/$pkgname-$pkgver
18 #Install daemon w/ Arch specific fix
19 if [ "$CARCH" = "x86_64" ]; then
20 install -D -m 755 x86_64/ipw3945d $startdir/pkg/sbin/ipw3945d
21 else install -D -m 755 x86/ipw3945d $startdir/pkg/sbin/ipw3945d
24 install -D -m 644 LICENSE.ipw3945d $startdir/pkg/usr/share/licenses/$pkgname/LICENSE
25 install -m755 -D $startdir/src/ipw3945d.rc $startdir/pkg/etc/rc.d/ipw3945d || return
28 md5sums=('097888f5be05eb2b9b87dcdbeeb948ce' '72aafd7cba214592de6175974a48b4f9')