blob: 2fc80bd81bd16b4928a782a563d0525d0d213abc (
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
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
|
# Maintainer: André Silva <emulatorman@lavabit.com>
# Contributor: 謝致邦 <Yeking@Red54.com>
# We're getting this from Debian Sid
pkgname=linux-libre-firmware
pkgver=3.1
pkgrel=1
pkgdesc='Free Firmware files for Linux-libre'
arch=('any')
url='http://svn.debian.org/wsvn/kernel/dists/trunk/firmware-free/'
license=('GPL2' 'GPL3' 'MPL')
provides=('linux-firmware=20120625'
'kernel26-firmware=2.6.34.99')
conflicts=('linux-firmware'
'linux-firmware-git'
'kernel26-firmware'
'ar9170-fw'
'iwlwifi-1000-ucode'
'iwlwifi-3945-ucode'
'iwlwifi-4965-ucode'
'iwlwifi-5000-ucode'
'iwlwifi-5150-ucode'
'iwlwifi-6000-ucode'
'rt2870usb-fw'
'rt2x00-rt61-fw'
'rt2x00-rt71w-fw')
replaces=('linux-firmware'
'kernel26-firmware'
'ar9170-fw'
'iwlwifi-1000-ucode'
'iwlwifi-3945-ucode'
'iwlwifi-4965-ucode'
'iwlwifi-5000-ucode'
'iwlwifi-5150-ucode'
'iwlwifi-6000-ucode'
'rt2870usb-fw'
'rt2x00-rt61-fw'
'rt2x00-rt71w-fw')
source=("http://ftp.debian.org/debian/pool/main/f/firmware-free/firmware-free_$pkgver.tar.gz"
'parabola-LICENSE.patch')
md5sums=('8f111229d121f447a4b6ea58cb897e00'
'3aaa2d5530c3c9518ae02978204a83ff')
package() {
cd "$srcdir/firmware-free"
patch -Np1 -i "$srcdir/parabola-LICENSE.patch"
rm -r "$srcdir/firmware-free/"{debian,defines}
cd "$srcdir/firmware-free/linux-free"
rm defines
install -d -m755 "$pkgdir/usr/lib/firmware"
cp -a * "$pkgdir/usr/lib/firmware"
install -d -m755 "$pkgdir/usr/share/licenses/$pkgname"
mv "${pkgdir}/usr/lib/firmware/LICENSE" "$pkgdir/usr/share/licenses/$pkgname/WHENCE"
}
|