summaryrefslogtreecommitdiff
path: root/libre/linux-libre-firmware/PKGBUILD
diff options
context:
space:
mode:
Diffstat (limited to 'libre/linux-libre-firmware/PKGBUILD')
-rw-r--r--libre/linux-libre-firmware/PKGBUILD15
1 files changed, 8 insertions, 7 deletions
diff --git a/libre/linux-libre-firmware/PKGBUILD b/libre/linux-libre-firmware/PKGBUILD
index 26c128d1b..5a281751e 100644
--- a/libre/linux-libre-firmware/PKGBUILD
+++ b/libre/linux-libre-firmware/PKGBUILD
@@ -5,7 +5,7 @@
pkgname=linux-libre-firmware
pkgver=1.1
-pkgrel=3
+pkgrel=4
epoch=1
pkgdesc='Firmware files for Linux-libre'
arch=('any')
@@ -33,12 +33,10 @@ replaces=(${conflicts[@]})
options=(!strip)
source=("${url}/${pkgname}-${pkgver}.tar.lz"{,.asc}
'remove-wget.patch' # remove the download of external toolchains
- 'config' # carl9170fw configuration
)
sha512sums=('4ef111f86e8a87bab31e02be171e09f47d71884f1737f5329e9dd07e9f799436d8ff2de5aa0b2cfb4bc921ed02bb2b59b9a1ea69176dcef5f902364d8725e75a'
'SKIP'
- '60b58bed66e737148a5954c18efb1113518f14cf43ee2b6e7e8cdabe253a6db1c0d696f01eb25ecda7a8d3300afcf0169fa35f5eb123211554f08710f2c26ea2'
- '4e596db89f88ed24db3eaff8ed2853d2a07128ba430a26bc63e08f29e4cd4c7093d358df35f580ede563103f0cf720f0f81f517108c79e80d8cf2aee786023f4')
+ '60b58bed66e737148a5954c18efb1113518f14cf43ee2b6e7e8cdabe253a6db1c0d696f01eb25ecda7a8d3300afcf0169fa35f5eb123211554f08710f2c26ea2')
validpgpkeys=('F611A908FFA165C699584ED49D0DB31B545A3198') # Jason Self
prepare() {
@@ -48,8 +46,7 @@ prepare() {
patch -p1 -i ../remove-wget.patch
# CARL9170 configuration
- cp -Tf ../config src/carl9170fw/.config
- sed -e '13s|config/conf|config/conf --config|' \
+ sed -e '13s|config/conf|config/conf --alldefconfig|' \
-i src/carl9170fw/autogen.sh
}
@@ -71,6 +68,10 @@ package() {
install -dm755 $pkgdir/usr/lib/firmware
make prefix=$pkgdir/usr/lib/firmware install
-
+
+ # ath9k_htc works only if it's located at /usr/lib/firmware
+ mv $pkgdir/usr/lib/firmware/ath9k_htc/* $pkgdir/usr/lib/firmware
+ rm -r $pkgdir/usr/lib/firmware/ath9k_htc
+
install -Dm644 WHENCE $pkgdir/usr/share/licenses/$pkgname/WHENCE
}