summaryrefslogtreecommitdiff
path: root/libre/ath9k-htc-firmware/PKGBUILD
diff options
context:
space:
mode:
authorAndré Fabian Silva Delgado <emulatorman@lavabit.com>2013-07-05 00:05:14 -0300
committerAndré Fabian Silva Delgado <emulatorman@lavabit.com>2013-07-05 00:05:14 -0300
commit8af62f102a43388e74d5d3f53bbc49a103ddd30e (patch)
tree1ff37d930a0d51a94957fc336a281735a3f7fb9a /libre/ath9k-htc-firmware/PKGBUILD
parent1e0563398a58d5aa5e39574c223a1f7d5e89046b (diff)
downloadabslibre-8af62f102a43388e74d5d3f53bbc49a103ddd30e.tar.gz
abslibre-8af62f102a43388e74d5d3f53bbc49a103ddd30e.tar.bz2
abslibre-8af62f102a43388e74d5d3f53bbc49a103ddd30e.zip
ath9k-htc-firmware: fix issues on PKGBUILD
Diffstat (limited to 'libre/ath9k-htc-firmware/PKGBUILD')
-rw-r--r--libre/ath9k-htc-firmware/PKGBUILD15
1 files changed, 7 insertions, 8 deletions
diff --git a/libre/ath9k-htc-firmware/PKGBUILD b/libre/ath9k-htc-firmware/PKGBUILD
index f712395f4..ad545e899 100644
--- a/libre/ath9k-htc-firmware/PKGBUILD
+++ b/libre/ath9k-htc-firmware/PKGBUILD
@@ -14,11 +14,8 @@ md5sums=('SKIP')
prepare() {
- # create firmware folder to put the free firmware files there
- install -d -m755 $pkgdir/usr/lib/firmware
-
cd $srcdir/open-ath9k-htc-firmware/target_firmware
- mkdir -p build/{k2,magpie} $pkgdir/usr/lib/firmware
+ mkdir -p build/{k2,magpie}
}
@@ -109,16 +106,18 @@ EOF
package() {
+ # create firmware folder to put the free firmware files there
+ install -d -m755 $pkgdir/usr/lib/firmware
+
cd $srcdir/open-ath9k-htc-firmware/target_firmware
# move firmware files to firmware folder
cp build/{k2,magpie}/htc_*.fw $pkgdir/usr/lib/firmware
- # create licenses folder to put the licenses files there
+ # create license folder to put the license file there
install -d -m755 $pkgdir/usr/share/licenses/$pkgname
- # move LICENSE.TXT from ath9k-htc firmware to linux-firmware license folder
- cd $srcdir/open-ath9k-htc-firmware-1.3.2
- mv LICENSE.TXT $pkgdir/usr/share/licenses/$pkgname/LICENCE
+ # put LICENSE.TXT from ath9k-htc firmware to license folder
+ install -m644 $srcdir/open-ath9k-htc-firmware/LICENCE.TXT $pkgdir/usr/share/licenses/$pkgname/LICENCE
}