summaryrefslogtreecommitdiffstats
path: root/abs/core-testing/ipw2100-fw/PKGBUILD
blob: ccb797a626fb8237e6def473114349d69c379ab6 (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
26
27
# $Id: PKGBUILD 59422 2009-11-23 20:05:10Z giovanni $
# Maintainer: Thomas Baechler <thomas@archlinux.org>
# Contributor: Giovanni Scafora <giovanni@archlinux.org>

pkgname=ipw2100-fw
pkgver=1.3
pkgrel=4
pkgdesc="Intel Centrino Drivers firmware for IPW2100"
arch=('any')
url="http://ipw2100.sourceforge.net/"
license=('custom')
depends=()
replaces=('ipw2100')
source=(http://bughost.org/firmware/${pkgname}-${pkgver}.tgz)
md5sums=('46aa75bcda1a00efa841f9707bbbd113')

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