summaryrefslogtreecommitdiff
path: root/libre/linux-libre-firmware
diff options
context:
space:
mode:
authoraurelien <aurelien@cwb.io>2013-09-23 10:33:22 +0200
committeraurelien <aurelien@cwb.io>2013-09-23 10:33:22 +0200
commit2735c9d273c54b555681f30f5c685998fed7b484 (patch)
treef8172dbea44d1c4751a99a62fb236a14c9d2dc20 /libre/linux-libre-firmware
parentd78a32a6ccb8663a62a093b54e947e2efc840fe0 (diff)
parent97f65e06566f3bb15bc7395624017b8e6ca0d043 (diff)
downloadabslibre-2735c9d273c54b555681f30f5c685998fed7b484.tar.gz
abslibre-2735c9d273c54b555681f30f5c685998fed7b484.tar.bz2
abslibre-2735c9d273c54b555681f30f5c685998fed7b484.zip
Merge branch 'master' of ssh://parabolagnulinux.org:1863/srv/git/abslibre
Diffstat (limited to 'libre/linux-libre-firmware')
-rw-r--r--libre/linux-libre-firmware/PKGBUILD22
1 files changed, 16 insertions, 6 deletions
diff --git a/libre/linux-libre-firmware/PKGBUILD b/libre/linux-libre-firmware/PKGBUILD
index 99c54a1b2..8bd7c5989 100644
--- a/libre/linux-libre-firmware/PKGBUILD
+++ b/libre/linux-libre-firmware/PKGBUILD
@@ -2,12 +2,13 @@
# Contributor: Márcio Silva <coadde@lavabit.com>
pkgname=linux-libre-firmware
-pkgver=3.9
+pkgver=3.10
pkgrel=1
pkgdesc='Free firmware files for Linux-libre'
arch=('any')
-url='http://linux-libre.fsfla.org/'
+url=('http://linux-libre.fsfla.org/')
license=('GPL2')
+depends=('ath9k-htc-firmware')
provides=('linux-firmware'
'kernel26-firmware=2.6.34.99')
conflicts=('linux-firmware'
@@ -36,14 +37,23 @@ replaces=('linux-firmware'
'rt2x00-rt61-fw'
'rt2x00-rt71w-fw')
source=("http://linux-libre.fsfla.org/pub/linux-libre/releases/$pkgver-gnu/linux-libre-$pkgver-gnu.tar.xz")
-md5sums=('120df29f88622dabf7015a22c7cc8e25')
+md5sums=('d562fd52580a3b6b18b6eeb5921d1d5c')
package() {
+
+ # create firmware folder to put the free firmware files there
+ install -d -m755 $pkgdir/usr/lib/firmware
+
cd $srcdir/linux-$pkgver
-
+
+ # compile free firmware files
make INSTALL_FW_PATH=$pkgdir/usr/lib/firmware firmware_install
- # move WHENCE file to linux-firmware license folder
+ # create licenses folder to put the licenses files there
install -d -m755 $pkgdir/usr/share/licenses/$pkgname
- mv firmware/WHENCE $pkgdir/usr/share/licenses/$pkgname
+
+ # move WHENCE file to linux-firmware license folder
+ cd $srcdir/linux-$pkgver
+ install -m644 firmware/WHENCE $pkgdir/usr/share/licenses/$pkgname
+
}