summaryrefslogtreecommitdiff
path: root/libre/linux-libre-firmware
diff options
context:
space:
mode:
Diffstat (limited to 'libre/linux-libre-firmware')
-rw-r--r--libre/linux-libre-firmware/PKGBUILD8
1 files changed, 2 insertions, 6 deletions
diff --git a/libre/linux-libre-firmware/PKGBUILD b/libre/linux-libre-firmware/PKGBUILD
index d5570f98d..2ddc046b6 100644
--- a/libre/linux-libre-firmware/PKGBUILD
+++ b/libre/linux-libre-firmware/PKGBUILD
@@ -39,7 +39,7 @@ replaces=('linux-firmware'
source=("http://linux-libre.fsfla.org/pub/linux-libre/releases/$pkgver-gnu/linux-libre-$pkgver-gnu.tar.xz")
md5sums=('120df29f88622dabf7015a22c7cc8e25')
-build() {
+package() {
# create firmware folder to put the free firmware files there
install -d -m755 $pkgdir/usr/lib/firmware
@@ -49,15 +49,11 @@ build() {
# compile free firmware files
make INSTALL_FW_PATH=$pkgdir/usr/lib/firmware firmware_install
-}
-
-package() {
-
# create licenses folder to put the licenses files there
install -d -m755 $pkgdir/usr/share/licenses/$pkgname
# move WHENCE file to linux-firmware license folder
cd $srcdir/linux-$pkgver
- mv firmware/WHENCE $pkgdir/usr/share/licenses/$pkgname
+ install -m644 firmware/WHENCE $pkgdir/usr/share/licenses/$pkgname
}