linux-firmware: use Arch distfile, do not update it daily.

This commit is contained in:
Juan RP 2012-07-17 15:03:04 +02:00
parent 477622d1a4
commit fa350ad123

View file

@ -1,18 +1,16 @@
# Template file for 'linux-firmware'
pkgname=linux-firmware
version="$(date -u +%Y%m%d)"
version=20120625
revision=1
noarch=yes
nofetch=yes
noextract=yes
depends="linux-firmware-network>=20120523"
makedepends="wget git"
depends="linux-firmware-network>=$version"
subpackages="${pkgname}-network"
short_desc="Binary firmware blobs for the Linux kernel"
maintainer="Juan RP <xtraeme@gmail.com>"
homepage="http://www.kernel.org/"
license="See /usr/share/licenses/${pkgname}"
checksum=b8b0a3b875ff74d72a57987ad705753f94cc274c97922e0e16f51381af0d42a9
distfiles="ftp://ftp.archlinux.org/other/$pkgname/$pkgname-$version.tar.xz"
checksum=2061a054155380721b7ccca6ff71b3f6832cc5a2992d8b1b9536f8365786d65b
long_desc="
This package provides binary firmware blobs for misc hardware supported by
the Linux kernel."
@ -22,12 +20,6 @@ iwl3945-firmware>=0 iwl4965-firmware>=0 iwl5000-firmware>=0 rt73usb-firmware>=0
iwl5150-firmware>=0 iwl6000-firmware>=0 rt2800usb>=0 rt61-firmware>=0
ar9170-firmware>=0"
do_fetch() {
local url="git://git.kernel.org/pub/scm/linux/kernel/git/firmware/linux-firmware.git"
msg_normal " Fetching source from $url ...\n"
git clone ${url} ${pkgname}-${version}
}
do_install() {
vmkdir usr/lib/firmware
vmkdir usr/share/licenses/${pkgname}
@ -35,7 +27,4 @@ do_install() {
rm -f ${DESTDIR}/usr/lib/firmware/GPL{,-3}
mv ${DESTDIR}/usr/lib/firmware/{LICEN*,WHENCE} \
${DESTDIR}/usr/share/licenses/${pkgname}
# XXX disabled for now, reenable when it works.
#wget http://anonscm.debian.org/viewvc/kernel/dists/squeeze/firmware-nonfree/atheros/ar9170.fw?view=co \
# -O ${DESTDIR}/lib/firmware/ar9170.fw
}