# Maintainer: André Silva # Contributor: Márcio Silva _pkgname=linux-firmware pkgname=linux-libre-firmware pkgver=3.7 pkgrel=2 pkgdesc='Firmware files for Linux (built from linux-libre source and without nonfree code in the form of binary blobs)' arch=('any') url='http://linux-libre.fsfla.org/' license=('GPL2') 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=('06bf9601d859531e7378eb43d4ca7dd3') package() { cd $srcdir/linux-$pkgver make INSTALL_FW_PATH=$pkgdir/usr/lib/firmware firmware_install # move WHENCE file to linux-firmware license folder install -d -m755 $pkgdir/usr/share/licenses/$_pkgname mv firmware/WHENCE $pkgdir/usr/share/licenses/$_pkgname }