summaryrefslogtreecommitdiffstats
path: root/abs/core-testing/ipw2200-fw/PKGBUILD
blob: 75b4be93d20932bd03994ad0a7d78f5015e24e23 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
# $Id: PKGBUILD 59427 2009-11-23 20:20:15Z giovanni $
# Maintainer: Thomas Baechler <thomas@archlinux.org>
# Contributor: Giovanni Scafora <giovanni@archlinux.org>

pkgname=ipw2200-fw
pkgver=3.1
pkgrel=2
pkgdesc="Firmware for the Intel PRO/Wireless 2200BG"
arch=('any')
url='http://ipw2200.sourceforge.net/'
license=('custom')
depends=()
source=(http://bughost.org/firmware/${pkgname}-${pkgver}.tgz)
replaces=('ipw2200')
md5sums=('eaba788643c7cc7483dd67ace70f6e99')

build() {
  cd "${srcdir}/ipw2200-fw-${pkgver}"
  # Install firmware
  for i in ipw*.fw; do
    install -D -m 644 $i "${pkgdir}/lib/firmware/$i"
  done
  # Install license
  install -D -m 644 LICENSE.ipw2200-fw "${pkgdir}/usr/share/licenses/${pkgname}/LICENSE" || return 1
}