summarylogtreecommitdiffstats
diff options
context:
space:
mode:
authorAndré Fabian Silva Delgado2015-06-08 16:26:33 -0300
committerAndré Fabian Silva Delgado2015-06-08 16:26:33 -0300
commit471d19c6d28b1387db8c771137d6167b6ed20911 (patch)
treea1c65842afdba1c50a7e53b8560cab99b3c75ff4
downloadaur-471d19c6d28b1387db8c771137d6167b6ed20911.tar.gz
Initial import
-rw-r--r--.SRCINFO45
-rw-r--r--PKGBUILD60
2 files changed, 105 insertions, 0 deletions
diff --git a/.SRCINFO b/.SRCINFO
new file mode 100644
index 00000000000..069cae87bfd
--- /dev/null
+++ b/.SRCINFO
@@ -0,0 +1,45 @@
+pkgbase = linux-libre-firmware
+ pkgdesc = Firmware files for Linux-libre
+ pkgver = 4.0_gnu
+ pkgrel = 1
+ url = http://linux-libre.fsfla.org/
+ arch = any
+ license = GPL2
+ depends = ath9k-htc-firmware
+ depends = openfwwf
+ provides = linux-firmware
+ conflicts = linux-firmware
+ conflicts = linux-firmware-git
+ conflicts = kernel26-firmware
+ conflicts = ar9170-fw
+ conflicts = iwlwifi-1000-ucode
+ conflicts = iwlwifi-3945-ucode
+ conflicts = iwlwifi-4965-ucode
+ conflicts = iwlwifi-5000-ucode
+ conflicts = iwlwifi-5150-ucode
+ conflicts = iwlwifi-6000-ucode
+ conflicts = rt2870usb-fw
+ conflicts = rt2x00-rt61-fw
+ conflicts = rt2x00-rt71w-fw
+ conflicts = amd-ucode
+ replaces = linux-firmware
+ replaces = linux-firmware-git
+ replaces = kernel26-firmware
+ replaces = ar9170-fw
+ replaces = iwlwifi-1000-ucode
+ replaces = iwlwifi-3945-ucode
+ replaces = iwlwifi-4965-ucode
+ replaces = iwlwifi-5000-ucode
+ replaces = iwlwifi-5150-ucode
+ replaces = iwlwifi-6000-ucode
+ replaces = rt2870usb-fw
+ replaces = rt2x00-rt61-fw
+ replaces = rt2x00-rt71w-fw
+ replaces = amd-ucode
+ source = http://linux-libre.fsfla.org/pub/linux-libre/releases/4.0-gnu/linux-libre-4.0-gnu.tar.xz
+ source = http://linux-libre.fsfla.org/pub/linux-libre/releases/4.0-gnu/linux-libre-4.0-gnu.tar.xz.sign
+ sha256sums = 0e2dd5be12c1f82ab3d03b89cbe3f1a20e14332ec42c102efb226a6283fdd38a
+ sha256sums = SKIP
+
+pkgname = linux-libre-firmware
+
diff --git a/PKGBUILD b/PKGBUILD
new file mode 100644
index 00000000000..0f0b5a22f1f
--- /dev/null
+++ b/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.0-gnu
+
+_srcname=linux-${_pkgver%-*}
+pkgver=${_pkgver//-/_}
+pkgrel=1
+pkgdesc='Firmware files for Linux-libre'
+arch=('any')
+url=('http://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=("http://linux-libre.fsfla.org/pub/linux-libre/releases/${_pkgver}/linux-libre-${_pkgver}.tar.xz"
+ "http://linux-libre.fsfla.org/pub/linux-libre/releases/${_pkgver}/linux-libre-${_pkgver}.tar.xz.sign")
+sha256sums=('0e2dd5be12c1f82ab3d03b89cbe3f1a20e14332ec42c102efb226a6283fdd38a'
+ '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
+}