From 0208e6b182b3746d0e17bc60e601e669a495abd6 Mon Sep 17 00:00:00 2001 From: cr6git Date: Thu, 20 Jul 2017 09:53:21 +0200 Subject: [PATCH] linux-firmware: update to 20170622 Add checksum, remove git dependency. Closes: #7093 [via git-merge-pr] --- srcpkgs/linux-firmware/template | 17 ++++++----------- 1 file changed, 6 insertions(+), 11 deletions(-) diff --git a/srcpkgs/linux-firmware/template b/srcpkgs/linux-firmware/template index d5ef249502d..ffe05d8b27c 100644 --- a/srcpkgs/linux-firmware/template +++ b/srcpkgs/linux-firmware/template @@ -1,22 +1,17 @@ # Template file for 'linux-firmware' pkgname=linux-firmware -version=20170615 +version=20170622 revision=1 +_githash=7d2c913dcd1be083350d97a8cb1eba24cfacbc8a noarch=yes short_desc="Binary firmware blobs for the Linux kernel" maintainer="Juan RP " -homepage="http://www.kernel.org/" +homepage="https://www.kernel.org/" license="See /usr/share/licenses/${pkgname}" -hostmakedepends="git" depends="${pkgname}-amd-${version}_${revision} ${pkgname}-network-${version}_${revision}" - -do_fetch() { - local _githash=a3a26af24e29c818ef9b5661856018e21a5c49fb - local _url="git://git.kernel.org/pub/scm/linux/kernel/git/firmware/linux-firmware.git" - git clone ${_url} ${wrksrc} - cd ${wrksrc} - git checkout ${_githash} -} +distfiles="https://git.kernel.org/pub/scm/linux/kernel/git/firmware/linux-firmware.git/snapshot/${pkgname}-${_githash}.tar.gz" +checksum=03d220c1747ed71b54b53ce04bfb178fe937ba585309b4a0b32eb351d709fcb0 +wrksrc="${pkgname}-${_githash}" do_install() { vmkdir usr/lib/firmware