summaryrefslogtreecommitdiffstats
path: root/abs/core-testing/iwlwifi-3945-ucode/PKGBUILD
blob: 14de93b72b9de0ee08c6d921a4d89e17f89f29f4 (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
28
# $Id: PKGBUILD 356 2008-04-18 22:56:27Z aaron $
# Maintainer: Thomas Baechler <thomas@archlinux.org>

pkgname=iwlwifi-3945-ucode
pkgver=2.14.1.5
pkgrel=2
pkgdesc="Intel wireless firmware for IPW3945 (iwlwifi driver)"
arch=(i686 x86_64)
url="http://intellinuxwireless.org/?p=iwlwifi"
license=('custom')
depends=()
source=(http://intellinuxwireless.org/iwlwifi/downloads/$pkgname-2.14.4.tgz
        http://intellinuxwireless.org/iwlwifi/downloads/$pkgname-$pkgver.tgz)
md5sums=('7178aa3a6e08655b8ac9565095bbd441'
         'a8122d3e026561055f488dc654ccfcd1')
force=y

build() {
  cd $startdir/src/$pkgname-2.14.4
  # Install old firmware for compatibility
  install -D -m 644 iwlwifi-3945.ucode $startdir/pkg/lib/firmware/iwlwifi-3945.ucode || return 1

  cd $startdir/src/$pkgname-$pkgver
  # Install firmware
  install -D -m 644 iwlwifi-3945-1.ucode $startdir/pkg/lib/firmware/iwlwifi-3945-1.ucode || return 1
  # Install license
  install -D -m 644 LICENSE.iwlwifi-3945-ucode $startdir/pkg/usr/share/licenses/$pkgname/LICENSE || return 1
}