diff --git a/srcpkgs/linux-firmware/template b/srcpkgs/linux-firmware/template index 2b11f538960..14c29120a32 100644 --- a/srcpkgs/linux-firmware/template +++ b/srcpkgs/linux-firmware/template @@ -1,19 +1,25 @@ # Template file for 'linux-firmware' pkgname=linux-firmware -version=20130610 +version=20130729 revision=1 short_desc="Binary firmware blobs for the Linux kernel" maintainer="Juan RP " homepage="http://www.kernel.org/" license="See /usr/share/licenses/${pkgname}" -distfiles="ftp://ftp.archlinux.org/other/$pkgname/$pkgname-$version.tar.xz" -checksum=44460285d810cccf04a5edf558ae476dd6bdd3b7f496d71f6e19ab46f5393c29 + +nofetch=yes +noextract=yes + +do_fetch() { + url="git://git.kernel.org/pub/scm/linux/kernel/git/firmware/linux-firmware.git" + git clone ${url} ${pkgname}-${version} +} do_install() { vmkdir usr/lib/firmware vmkdir usr/share/licenses/${pkgname} vcopy "*" usr/lib/firmware - rm -f ${DESTDIR}/usr/lib/firmware/GPL{,-3} + rm -f ${DESTDIR}/usr/lib/firmware/{README*,configure,GPL*} mv ${DESTDIR}/usr/lib/firmware/{LICEN*,WHENCE} \ ${DESTDIR}/usr/share/licenses/${pkgname} } @@ -44,7 +50,7 @@ linux-firmware_package() { replaces="kernel-firmware>=0 radeon-firmware>=0 iwl1000-firmware>=0 iwl3945-firmware>=0 iwl4965-firmware>=0 iwl5000-firmware>=0 iwl5150-firmware>=0 iwl6000-firmware>=0 rt73usb-firmware>=0 - rt2800usb>=0 rt61-firmware>=0 ar9170-firmware>=0" + rt2800usb>=0 rt61-firmware>=0 ar9170-firmware>=0 amd-ucode>=0" depends="${pkgname}-network-${version}_${revision}" noarch=yes pkg_install() {