PKGBUILDs/core/ipw2100-fw/PKGBUILD
2009-10-09 21:17:35 -05:00

38 lines
1.1 KiB
Bash

# $Id: PKGBUILD 37476 2009-05-02 05:13:41Z eric $
# Maintainer : Tobias Powalowski <tpowa@archlinux.org>
pkgname=ipw2100-fw
pkgver=1.3
pkgrel=3
pkgdesc="Intel Centrino Drivers firmware for IPW2100"
arch=(i686 x86_64)
url="http://ipw2100.sourceforge.net/"
license=('custom')
depends=('wireless_tools')
replaces=('ipw2100')
install=ipw2100-fw.install
#source=(ipw2100-fw-1.3.tgz http://switch.dl.sourceforge.net/sourceforge/$pkgname/$pkgname-$pkgver.tgz)
source=(http://bughost.org/firmware/$pkgname-$pkgver.tgz)
build() {
#cd $startdir/src/$pkgname-$pkgver
#make
#Install kernel modules
#for i in *.ko
#do
#install -D -m 644 $i $startdir/pkg/lib/modules/$(uname -r)/kernel/drivers/net/wireless/ipw2100/$i
#done
cd $srcdir
# Install firmware
for i in *.fw
do
install -D -m 644 $i $pkgdir/lib/firmware/$i || return 1
done
# Install firmware license
#install -D -m 644 LICENSE $startdir/pkg/lib/firmware/LICENSE.ipw2100-fw
install -D -m 644 LICENSE $pkgdir/usr/share/licenses/$pkgname/LICENSE
}
md5sums=('46aa75bcda1a00efa841f9707bbbd113')