summaryrefslogtreecommitdiffstats
path: root/abs/core-testing/iwlwifi-4965-ucode/PKGBUILD
blob: 4ce295a0c73d1bc09fcc3087ce0f29d0098d8dc1 (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
# $Id: PKGBUILD 4446 2008-07-07 12:03:57Z thomas $
# Maintainer: Thomas Baechler <thomas@archlinux.org>

pkgname=iwlwifi-4965-ucode
pkgver=228.57.2.21
pkgrel=1
pkgdesc="Intel wireless firmware for IPW4965 (iwlwifi driver)"
arch=(i686 x86_64)
url="http://intellinuxwireless.org/?p=iwlwifi"
license=('custom')
depends=()
source=(http://intellinuxwireless.org/iwlwifi/downloads/$pkgname-$pkgver.tgz
        http://intellinuxwireless.org/iwlwifi/downloads/$pkgname-228.57.1.21.tgz)
md5sums=('83804fb4bfa991ffd4849c19a74bf38d'
         'bce5a13d681100aeee2ddac3beaff437')

build() {
  cd $startdir/src/$pkgname-228.57.1.21
  # Install firmware (ABI version 1, for compatibility)
  install -D -m 644 iwlwifi-4965-1.ucode $startdir/pkg/lib/firmware/iwlwifi-4965-1.ucode || return 1
  cd $startdir/src/$pkgname-$pkgver
  # Install firmware (ABI version 2, for future versions of iwl4965)
  install -D -m 644 iwlwifi-4965-2.ucode $startdir/pkg/lib/firmware/iwlwifi-4965-2.ucode || return 1
  # Install license
  install -D -m 644 LICENSE.iwlwifi-4965-ucode $startdir/pkg/usr/share/licenses/$pkgname/LICENSE || return 1
}