diff options
-rw-r--r-- | abs/core/linux-firmware/PKGBUILD | 40 |
1 files changed, 29 insertions, 11 deletions
diff --git a/abs/core/linux-firmware/PKGBUILD b/abs/core/linux-firmware/PKGBUILD index 30925a4..0366c65 100644 --- a/abs/core/linux-firmware/PKGBUILD +++ b/abs/core/linux-firmware/PKGBUILD @@ -1,14 +1,15 @@ -# $Id: PKGBUILD 85247 2010-07-11 09:33:36Z thomas $ +# $Id: PKGBUILD 123819 2011-05-13 15:23:26Z tpowa $ # Maintainer: Thomas Bächler <thomas@archlinux.org> # # Create a new tarball from the linux-firmware git tree with the following command: +# git clone git://git.kernel.org/pub/scm/linux/kernel/git/dwmw2/linux-firmware.git # git archive --format=tar --prefix linux-firmware-$(date +%Y%m%d)/ master | xz -9 > linux-firmware-$(date +%Y%m%d).tar.xz # pkgname=linux-firmware -pkgver=20100623 -pkgrel=3 +pkgver=20110512 +pkgrel=2 pkgdesc="Firmware files for Linux" arch=('any') url="http://git.kernel.org/?p=linux/kernel/git/dwmw2/linux-firmware.git;a=summary" @@ -39,9 +40,21 @@ replaces=('kernel26-firmware' 'rt2x00-rt71w-fw') options=(!strip) source=(ftp://ftp.archlinux.org/other/linux-firmware/$pkgname-$pkgver.tar.xz - http://www.kernel.org/pub/linux/kernel/people/mcgrof/firmware/ar9170/ar9170.fw) -sha256sums=('f78f96a4d330ecded5e6a6e61c1e6f2cdf915625b65040f4bd3e6dfea44f367d' - '1b379c5a8d6ab3a43911f7949d6306fe2dae3afb1368be5452a8fc7d9c54e0a0') + http://www.kernel.org/pub/linux/kernel/people/mcgrof/firmware/ar9170/ar9170.fw + http://intellinuxwireless.org/iwlwifi/downloads/iwlwifi-5000-ucode-8.83.5.1-1.tgz + http://intellinuxwireless.org/iwlwifi/downloads/iwlwifi-1000-ucode-39.31.5.1.tgz + http://intellinuxwireless.org/iwlwifi/downloads/iwlwifi-6000-ucode-9.221.4.1.tgz + http://intellinuxwireless.org/iwlwifi/downloads/iwlwifi-6000g2a-ucode-17.168.5.2.tgz + http://intellinuxwireless.org/iwlwifi/downloads/iwlwifi-6000g2b-ucode-17.168.5.2.tgz +) +md5sums=('af5fef154866a2e2d33d8b86b271babf' + '34feec4ec0eae3bb92c7c1ea2dfb4530' + 'cec71b615f3ca6d7823c032da0be1b61' + '8098503cb2abcdeffffb3ddd2d8d6f60' + 'c132a4c1946a9dbc0c36b41696e5c793' + '0b9579f4b8faf51c955295607a8e79a8' + 'd87411296b4eeda0c91322228e9f8437') + package() { cd "${srcdir}/${pkgname}-${pkgver}" @@ -51,12 +64,17 @@ package() { rm -f "${pkgdir}/lib/firmware/GPL*" mv "${pkgdir}/lib/firmware"/{LICEN*,WHENCE} "${pkgdir}/usr/share/licenses/linux-firmware/" - # Add missing firmware files - # https://bugs.archlinux.org/task/19912 - cd "${pkgdir}/lib/firmware/bnx2" - ln -s bnx2-mips-09-5.0.0.j15.fw bnx2-mips-09-5.0.0.j9.fw - cd - + # Symlinks for Broadcom firmware + #ln -s bcm43xx-0-610-809-0.fw "${pkgdir}/lib/firmware/brcm/bcm43xx-0.fw" + #ln -s bcm43xx_hdr-0-610-809-0.fw "${pkgdir}/lib/firmware/brcm/bcm43xx_hdr-0.fw" + # https://bugs.archlinux.org/task/20064 install -m644 "${srcdir}/ar9170.fw" "${pkgdir}/lib/firmware/" + # fix intel firmware files + install -m 644 ${srcdir}/iwlwifi-1000-ucode-39.31.5.1/iwlwifi-1000-5.ucode "${pkgdir}/lib/firmware/" + install -m 644 ${srcdir}/iwlwifi-5000-ucode-8.83.5.1/iwlwifi-5000-5.ucode "${pkgdir}/lib/firmware/" + install -m 644 ${srcdir}/iwlwifi-6000-ucode-9.221.4.1/iwlwifi-6000-4.ucode "${pkgdir}/lib/firmware/" + install -m 644 ${srcdir}/iwlwifi-6000g2a-ucode-17.168.5.2/iwlwifi-6000g2a-5.ucode "${pkgdir}/lib/firmware/" + install -m 644 ${srcdir}/iwlwifi-6000g2b-ucode-17.168.5.2/iwlwifi-6000g2b-5.ucode "${pkgdir}/lib/firmware/" } # vim:set ts=2 sw=2 et: |