From 8af62f102a43388e74d5d3f53bbc49a103ddd30e Mon Sep 17 00:00:00 2001 From: André Fabian Silva Delgado Date: Fri, 5 Jul 2013 00:05:14 -0300 Subject: ath9k-htc-firmware: fix issues on PKGBUILD --- libre/ath9k-htc-firmware/PKGBUILD | 15 +++++++-------- 1 file changed, 7 insertions(+), 8 deletions(-) (limited to 'libre/ath9k-htc-firmware/PKGBUILD') 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 } -- cgit v1.2.3-54-g00ecf