summaryrefslogtreecommitdiff
path: root/libre/linux-libre-firmware
diff options
context:
space:
mode:
authorAndré Fabian Silva Delgado <emulatorman@lavabit.com>2013-07-03 22:31:58 -0300
committerAndré Fabian Silva Delgado <emulatorman@lavabit.com>2013-07-03 22:31:58 -0300
commit269ee85110ca3b1f5693d2d3a0c4711ab76de088 (patch)
tree95d89a4eb73ee1b19c6ceda9acbf2ba0fbe1f4ea /libre/linux-libre-firmware
parent26af8f009682fc83ef49e8f4654330c148e03aed (diff)
linux-libre-firmware: fix issues on PKGBUILD
Diffstat (limited to 'libre/linux-libre-firmware')
-rw-r--r--libre/linux-libre-firmware/PKGBUILD9
1 files changed, 5 insertions, 4 deletions
diff --git a/libre/linux-libre-firmware/PKGBUILD b/libre/linux-libre-firmware/PKGBUILD
index 2f87714aa..eb82af49b 100644
--- a/libre/linux-libre-firmware/PKGBUILD
+++ b/libre/linux-libre-firmware/PKGBUILD
@@ -38,7 +38,7 @@ replaces=('linux-firmware'
'rt2870usb-fw'
'rt2x00-rt61-fw'
'rt2x00-rt71w-fw')
-source=("http://linux-libre.fsfla.org/pub/linux-libre/releases/$pkgver-gnu/linux-libre-$pkgver-gnu.tar.xz"
+source=("http://linux-libre.fsfla.org/pub/linux-libre/releases/$_pkgver-gnu/linux-libre-$_pkgver-gnu.tar.xz"
"git://github.com/qca/open-ath9k-htc-firmware")
md5sums=('120df29f88622dabf7015a22c7cc8e25'
'SKIP')
@@ -48,14 +48,14 @@ build() {
cd $srcdir/open-ath9k-htc-firmware
# create firmware folder to put the free firmware files there
- mkdir -p $pkgdir/usr/lib/firmware
+ install -d -m755 $pkgdir/usr/lib/firmware
# compile ath9k-htc-firmware
make -C target_firmware
mv htc_{7010,9271}.fw $pkgdir/usr/lib/firmware
- cd $srcdir/linux-$pkgver
+ cd $srcdir/linux-$_pkgver
# compile free firmware files of linux-libre source code
make INSTALL_FW_PATH=$pkgdir/usr/lib/firmware firmware_install
@@ -64,6 +64,7 @@ build() {
package() {
+ # create licenses folder to put the licenses files there
install -d -m755 $pkgdir/usr/share/licenses/$pkgname
# move LICENSE.TXT from ath9k-htc firmware to linux-firmware license folder
@@ -71,7 +72,7 @@ package() {
mv LICENSE.TXT $pkgdir/usr/share/licenses/$pkgname/LICENCE.atheros_firmware
# move WHENCE file to linux-firmware license folder
- cd $srcdir/linux-$pkgver
+ cd $srcdir/linux-$_pkgver
mv firmware/WHENCE $pkgdir/usr/share/licenses/$pkgname
}