From 747170ed18fcc305f1f5b67d7b7f620e504d6a19 Mon Sep 17 00:00:00 2001 From: Omar Vega Ramos Date: Wed, 7 Feb 2018 05:13:22 -0500 Subject: linux-libre-firmware-20180112.e200e49-1: updating version See https://jxself.org/firmware.shtml --- libre/linux-libre-firmware/PKGBUILD | 46 +++++++++++++++++++++++-------------- 1 file changed, 29 insertions(+), 17 deletions(-) (limited to 'libre/linux-libre-firmware/PKGBUILD') diff --git a/libre/linux-libre-firmware/PKGBUILD b/libre/linux-libre-firmware/PKGBUILD index c01e56e49..22f6bd88c 100644 --- a/libre/linux-libre-firmware/PKGBUILD +++ b/libre/linux-libre-firmware/PKGBUILD @@ -1,18 +1,18 @@ # Maintainer: David P. +# Contributor: Omar Vega Ramos # Contributor: André Silva # Contributor: Márcio Silva # Contributor: Luke Shumaker pkgname=linux-libre-firmware -_pkgver=4.14-gnu - -_srcname=linux-${_pkgver%-*} -pkgver=${_pkgver//-/_} +_commit=e200e491e3f8ebaa38e4ebbc136ef57af5394569 # master +pkgver=20180112.e200e49 pkgrel=1 pkgdesc='Firmware files for Linux-libre' +makedepends=('git' 'gmp') arch=('any') -url='https://linux-libre.fsfla.org/' -license=('GPL2') +url="https://jxself.org/git/?p=linux-libre-firmware.git;a=summary" +license=('GPL2' 'GPL3') depends=('ath9k-htc-firmware' 'openfwwf') provides=('linux-firmware') conflicts=('linux-firmware' @@ -43,19 +43,31 @@ replaces=('linux-firmware' 'rt2x00-rt61-fw' 'rt2x00-rt71w-fw' 'amd-ucode') -source=("https://linux-libre.fsfla.org/pub/linux-libre/releases/${_pkgver}/linux-libre-${_pkgver}.tar.xz" - "https://linux-libre.fsfla.org/pub/linux-libre/releases/${_pkgver}/linux-libre-${_pkgver}.tar.xz.sign") -sha512sums=('0d4b0b8ec1ffc39c59295adf56f6a2cccf77cad56d8a8bf8072624bbb52ba3e684147ebed91d1528d2685423dd784c5fca0f3650f874f2b93cfc6b7689b9a87f' - 'SKIP') -validpgpkeys=( - '474402C8C582DAFBE389C427BCB7CF877E7D47A7' # Alexandre Oliva -) +options=(!strip) +source=("git+https://jxself.org/git/linux-libre-firmware.git#commit=${_commit}") +sha256sums=('SKIP') + +prepare() { + cd "${srcdir}/${pkgname}" +} + +pkgver() { + cd "${srcdir}/${pkgname}" + + # Commit date + short rev + echo $(TZ=UTC git show -s --pretty=%cd --date=format-local:%Y%m%d HEAD).$(git rev-parse --short HEAD) +} + +build() { + cd "${srcdir}/${pkgname}" + make cis dsp56k isci keyspan_pda #av7110 carl9170fw usbdux +} package() { - cd "${srcdir}/${_srcname}" + cd "${srcdir}/${pkgname}" - install -d -m755 "$pkgdir"/usr/lib/firmware - make INSTALL_FW_PATH="$pkgdir"/usr/lib/firmware firmware_install + make prefix="${pkgdir}"/usr/lib/firmware install - install -Dm644 firmware/WHENCE $pkgdir/usr/share/licenses/$pkgname + install -d "${pkgdir}/usr/share/licenses/${pkgname}" + install -Dm644 WHENCE "${pkgdir}/usr/share/licenses/${pkgname}/" } -- cgit v1.2.3