summaryrefslogtreecommitdiff
path: root/libre-testing
diff options
context:
space:
mode:
authorDavid P <megver83@parabola.nu>2017-05-23 09:55:58 -0400
committerDavid P <megver83@parabola.nu>2017-05-23 09:55:58 -0400
commitf17ef5fc9081101796e927865b0201f00016a39c (patch)
treefac227eb08681966669b29b51ef3e9c4f151234e /libre-testing
parentd7e9726ca3c8d30c5d0365e72a2504eb0787b251 (diff)
downloadabslibre-f17ef5fc9081101796e927865b0201f00016a39c.tar.gz
abslibre-f17ef5fc9081101796e927865b0201f00016a39c.tar.bz2
abslibre-f17ef5fc9081101796e927865b0201f00016a39c.zip
Added linux-libre-firmware to [libre-testing]
Diffstat (limited to 'libre-testing')
-rw-r--r--libre-testing/linux-libre-firmware/PKGBUILD61
1 files changed, 61 insertions, 0 deletions
diff --git a/libre-testing/linux-libre-firmware/PKGBUILD b/libre-testing/linux-libre-firmware/PKGBUILD
new file mode 100644
index 000000000..192ab4320
--- /dev/null
+++ b/libre-testing/linux-libre-firmware/PKGBUILD
@@ -0,0 +1,61 @@
+# Maintainer: David P. <megver83@parabola.nu>
+# Contributor: André Silva <emulatorman@parabola.nu>
+# Contributor: Márcio Silva <coadde@parabola.nu>
+# Contributor: Luke Shumaker <lukeshu@sbcglobal.net>
+
+pkgname=linux-libre-firmware
+_pkgver=4.11-gnu
+
+_srcname=linux-${_pkgver%-*}
+pkgver=${_pkgver//-/_}
+pkgrel=1
+pkgdesc='Firmware files for Linux-libre'
+arch=('any')
+url='https://linux-libre.fsfla.org/'
+license=('GPL2')
+depends=('ath9k-htc-firmware' 'openfwwf')
+provides=('linux-firmware')
+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'
+ 'amd-ucode')
+replaces=('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'
+ 'amd-ucode')
+source=("https://linux-libre.fsfla.org/pub/linux-libre/releases/${_pkgver}/linux-libre-${_pkgver}.tar.xz"
+ "https://linux-libre.fsfla.org/pub/linux-libre/releases/${_pkgver}/linux-libre-${_pkgver}.tar.xz.sign")
+sha512sums=('f1d9138024b127385248de5c8eb72123b717bbbaba3e80bded20f073acac816a7ea979c4677ddc72252a8ec77c6a6c1d1738b1c20106f7d53ef39c9cf64c1853'
+ 'SKIP')
+validpgpkeys=(
+ '474402C8C582DAFBE389C427BCB7CF877E7D47A7' # Alexandre Oliva
+)
+
+package() {
+ cd "${srcdir}/${_srcname}"
+
+ install -d -m755 "$pkgdir"/usr/lib/firmware
+ make INSTALL_FW_PATH="$pkgdir"/usr/lib/firmware firmware_install
+
+ install -Dm644 firmware/WHENCE $pkgdir/usr/share/licenses/$pkgname
+}