summaryrefslogtreecommitdiffstats
path: root/abs/core/linux-firmware
diff options
context:
space:
mode:
Diffstat (limited to 'abs/core/linux-firmware')
-rw-r--r--abs/core/linux-firmware/PKGBUILD53
1 files changed, 27 insertions, 26 deletions
diff --git a/abs/core/linux-firmware/PKGBUILD b/abs/core/linux-firmware/PKGBUILD
index 6148c95..db3610c 100644
--- a/abs/core/linux-firmware/PKGBUILD
+++ b/abs/core/linux-firmware/PKGBUILD
@@ -1,20 +1,14 @@
-# $Id: PKGBUILD 162535 2012-06-27 08:19:33Z thomas $
+# $Id$
# 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/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=20120625
+pkgver=20130905
pkgrel=1
pkgdesc="Firmware files for Linux"
+makedepends=('git')
arch=('any')
-url="http://git.kernel.org/?p=linux/kernel/git/dwmw2/linux-firmware.git;a=summary"
+url="http://git.kernel.org/?p=linux/kernel/git/firmware/linux-firmware.git;a=summary"
license=('GPL2' 'GPL3' 'custom')
-provides=('kernel26-firmware=2.6.34.99')
conflicts=('linux-firmware-git'
'kernel26-firmware'
'ar9170-fw'
@@ -26,29 +20,36 @@ conflicts=('linux-firmware-git'
'iwlwifi-6000-ucode'
'rt2870usb-fw'
'rt2x00-rt61-fw'
- 'rt2x00-rt71w-fw')
+ 'rt2x00-rt71w-fw'
+ 'amd-ucode')
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')
+ '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'
+ 'amd-ucode')
options=(!strip)
-source=(ftp://ftp.archlinux.org/other/linux-firmware/$pkgname-$pkgver.tar.xz)
-sha256sums=('2061a054155380721b7ccca6ff71b3f6832cc5a2992d8b1b9536f8365786d65b')
+source=('git://git.kernel.org/pub/scm/linux/kernel/git/firmware/linux-firmware.git#branch=master')
+md5sums=('SKIP')
-package() {
- cd "${srcdir}/${pkgname}-${pkgver}"
+pkgver() {
+ date +%Y%m%d
+}
+package() {
+ cd "${srcdir}/${pkgname}"
+ # remove not needed Makefile #35236
+ rm Makefile
install -d -m755 "${pkgdir}/usr/lib/firmware"
cp -a * "${pkgdir}/usr/lib/firmware/"
install -d -m755 "${pkgdir}/usr/share/licenses/linux-firmware/"
- rm -f "${pkgdir}/usr/lib/firmware/"{configure,GPL*}
+ rm -f "${pkgdir}/usr/lib/firmware/"{README*,configure,GPL*}
mv "${pkgdir}/usr/lib/firmware"/{LICEN*,WHENCE} "${pkgdir}/usr/share/licenses/linux-firmware/"
}
# vim:set ts=2 sw=2 et: