[arch-commits] Commit in linux-firmware/repos (testing-any testing-any/PKGBUILD)

Thomas Bächler thomas at archlinux.org
Sun Feb 5 09:00:28 EST 2012


    Date: Sunday, February 5, 2012 @ 09:00:27
  Author: thomas
Revision: 149011

archrelease: copy trunk to testing-any

Added:
  linux-firmware/repos/testing-any/
  linux-firmware/repos/testing-any/PKGBUILD
    (from rev 149010, linux-firmware/trunk/PKGBUILD)

----------+
 PKGBUILD |   63 +++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
 1 file changed, 63 insertions(+)

Copied: linux-firmware/repos/testing-any/PKGBUILD (from rev 149010, linux-firmware/trunk/PKGBUILD)
===================================================================
--- testing-any/PKGBUILD	                        (rev 0)
+++ testing-any/PKGBUILD	2012-02-05 14:00:27 UTC (rev 149011)
@@ -0,0 +1,63 @@
+# $Id$
+# Maintainer: Thomas Bächler <thomas at 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/firmware/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=20120205
+pkgrel=1
+pkgdesc="Firmware files for Linux"
+arch=('any')
+url="http://git.kernel.org/?p=linux/kernel/git/dwmw2/linux-firmware.git;a=summary"
+license=('GPL2' 'GPL3' 'custom')
+provides=('kernel26-firmware=2.6.34.99')
+conflicts=('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=('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')
+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=('b6a20c9cedf8b753b7d0aa54fbfad32ae69b6da3ea9afad2465e5facf6d6d1e0'
+            '1b379c5a8d6ab3a43911f7949d6306fe2dae3afb1368be5452a8fc7d9c54e0a0')
+
+package() {
+  cd "${srcdir}/${pkgname}-${pkgver}"
+
+  install -d -m755 "${pkgdir}/lib/firmware"
+  cp -a * "${pkgdir}/lib/firmware/"
+  install -d -m755 "${pkgdir}/usr/share/licenses/linux-firmware/"
+  rm -f "${pkgdir}/lib/firmware/GPL*"
+  mv "${pkgdir}/lib/firmware"/{LICEN*,WHENCE} "${pkgdir}/usr/share/licenses/linux-firmware/"
+
+  # 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/"
+}
+# vim:set ts=2 sw=2 et:



More information about the arch-commits mailing list