summaryrefslogtreecommitdiff
path: root/libre-testing/linux-libre-firmware/PKGBUILD
diff options
context:
space:
mode:
authorAndré Fabian Silva Delgado <emulatorman@parabola.nu>2016-12-24 00:12:40 -0300
committerAndré Fabian Silva Delgado <emulatorman@parabola.nu>2016-12-24 09:41:29 -0300
commit826b9996a66b3a41961409cef74c62a6d40c9436 (patch)
tree705d6e2e30d31be487ce35aec84d7bebea038ce5 /libre-testing/linux-libre-firmware/PKGBUILD
parenta800bcfe792de6475d043a3231ddb0dfd2d8e59f (diff)
downloadabslibre-826b9996a66b3a41961409cef74c62a6d40c9436.tar.gz
abslibre-826b9996a66b3a41961409cef74c62a6d40c9436.tar.bz2
abslibre-826b9996a66b3a41961409cef74c62a6d40c9436.zip
linux-libre-firmware-4.9_gnu-1: updating version
Diffstat (limited to 'libre-testing/linux-libre-firmware/PKGBUILD')
-rw-r--r--libre-testing/linux-libre-firmware/PKGBUILD60
1 files changed, 60 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..559a815f1
--- /dev/null
+++ b/libre-testing/linux-libre-firmware/PKGBUILD
@@ -0,0 +1,60 @@
+# Maintainer: André Silva <emulatorman@parabola.nu>
+# Contributor: Márcio Silva <coadde@parabola.nu>
+# Contributor: Luke Shumaker <lukeshu@sbcglobal.net>
+
+pkgname=linux-libre-firmware
+_pkgver=4.9-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")
+sha256sums=('009039b8e4cd63c547f0f7d09ce109ba8c534a015c53bebdc25d3f09474143f4'
+ '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
+}