This commit is contained in:
Manuel 2012-06-08 20:59:56 +00:00
parent bfb620944e
commit 3947c28ca7

View File

@ -1,10 +1,8 @@
# $Id: PKGBUILD 59427 2009-11-23 20:20:15Z giovanni $
# Maintainer: Thomas Baechler <thomas@archlinux.org>
# Contributor: Giovanni Scafora <giovanni@archlinux.org>
# Core packages for Chakra
pkgname=ipw2200-fw
pkgver=3.1
pkgrel=3
pkgrel=4
pkgdesc="Firmware for the Intel PRO/Wireless 2200BG"
arch=('any')
url='http://ipw2200.sourceforge.net/'
@ -14,12 +12,12 @@ source=(http://bughost.org/firmware/${pkgname}-${pkgver}.tgz)
replaces=('ipw2200')
md5sums=('eaba788643c7cc7483dd67ace70f6e99')
build() {
package() {
cd "${srcdir}/ipw2200-fw-${pkgver}"
# Install firmware
for i in ipw*.fw; do
install -D -m 644 $i "${pkgdir}/lib/firmware/$i"
install -D -m 644 $i "${pkgdir}/usr/lib/firmware/$i"
done
# Install license
install -D -m 644 LICENSE.ipw2200-fw "${pkgdir}/usr/share/licenses/${pkgname}/LICENSE" || return 1
install -D -m 644 LICENSE.ipw2200-fw "${pkgdir}/usr/share/licenses/${pkgname}/LICENSE"
}