diff options
author | aurelien <aurelien@cwb.io> | 2013-09-23 10:33:22 +0200 |
---|---|---|
committer | aurelien <aurelien@cwb.io> | 2013-09-23 10:33:22 +0200 |
commit | 2735c9d273c54b555681f30f5c685998fed7b484 (patch) | |
tree | f8172dbea44d1c4751a99a62fb236a14c9d2dc20 /libre-testing/linux-libre-firmware/PKGBUILD | |
parent | d78a32a6ccb8663a62a093b54e947e2efc840fe0 (diff) | |
parent | 97f65e06566f3bb15bc7395624017b8e6ca0d043 (diff) | |
download | abslibre-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-testing/linux-libre-firmware/PKGBUILD')
-rw-r--r-- | libre-testing/linux-libre-firmware/PKGBUILD | 59 |
1 files changed, 59 insertions, 0 deletions
diff --git a/libre-testing/linux-libre-firmware/PKGBUILD b/libre-testing/linux-libre-firmware/PKGBUILD new file mode 100644 index 000000000..23ab691aa --- /dev/null +++ b/libre-testing/linux-libre-firmware/PKGBUILD @@ -0,0 +1,59 @@ +# Maintainer: André Silva <emulatorman@lavabit.com> +# Contributor: Márcio Silva <coadde@lavabit.com> + +pkgname=linux-libre-firmware +pkgver=3.11 +pkgrel=1 +pkgdesc='Free firmware files for Linux-libre' +arch=('any') +url=('http://linux-libre.fsfla.org/') +license=('GPL2') +depends=('ath9k-htc-firmware') +provides=('linux-firmware' + 'kernel26-firmware=2.6.34.99') +conflicts=('linux-firmware' + 'linux-firmware-git' + 'kernel26-firmware' + 'ar9170-fw' + 'iwlwifi-1000-ucode' + 'iwlwifi-3945-ucode' + 'iwlwifi-4965-ucode' + 'iwlwifi-5000-ucode' + 'iwlwifi-5150-ucode' + 'iwlwifi-6000-ucode' + 'rt2870usb-fw' + 'rt2x00-rt61-fw' + 'rt2x00-rt71w-fw') +replaces=('linux-firmware' + 'kernel26-firmware' + 'ar9170-fw' + 'iwlwifi-1000-ucode' + 'iwlwifi-3945-ucode' + 'iwlwifi-4965-ucode' + 'iwlwifi-5000-ucode' + 'iwlwifi-5150-ucode' + 'iwlwifi-6000-ucode' + '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") +md5sums=('7ec84223c7adcf01a5287eb7af96b7e7') + +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 + + # 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 + install -m644 firmware/WHENCE $pkgdir/usr/share/licenses/$pkgname + +} |