summaryrefslogtreecommitdiff
path: root/libre/linux-libre-firmware
diff options
context:
space:
mode:
authorAndré Fabian Silva Delgado <emulatorman@lavabit.com>2012-10-09 14:02:36 -0200
committerAndré Fabian Silva Delgado <emulatorman@lavabit.com>2012-10-09 14:02:36 -0200
commit8add240e5264074d3c3db2fad909be3235df4d15 (patch)
tree610b65f3f820d44866b7c4445da0b827bb90b00d /libre/linux-libre-firmware
parent8ff03dbf00c257fa7542828dc8bf90df4e6f52e3 (diff)
downloadabslibre-8add240e5264074d3c3db2fad909be3235df4d15.tar.gz
abslibre-8add240e5264074d3c3db2fad909be3235df4d15.tar.bz2
abslibre-8add240e5264074d3c3db2fad909be3235df4d15.zip
linux-libre-firmware: adding new package to [libre]
Diffstat (limited to 'libre/linux-libre-firmware')
-rw-r--r--libre/linux-libre-firmware/PKGBUILD49
1 files changed, 49 insertions, 0 deletions
diff --git a/libre/linux-libre-firmware/PKGBUILD b/libre/linux-libre-firmware/PKGBUILD
new file mode 100644
index 000000000..4e622fc6c
--- /dev/null
+++ b/libre/linux-libre-firmware/PKGBUILD
@@ -0,0 +1,49 @@
+# Maintainer: André Silva <emulatorman@lavabit.com>
+# Contributor: 謝致邦 <Yeking@Red54.com>
+
+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)
+md5sums=('8f111229d121f447a4b6ea58cb897e00')
+
+package() {
+ rm -r {debian,defines}
+ cd $srcdir/firmware-free/linux-free
+ rm defines
+ install -d $pkgdir/usr/share/licenses/$pkgname
+ mv LICENSE $pkgdir/usr/share/licenses/$pkgname/WHENCE
+ install -d $pkgdir/usr/lib/firmware
+ mv * $pkgdir/usr/lib/firmware
+}