diff options
author | Omar Vega Ramos <ovruni@gnu.org.pe> | 2018-02-07 05:13:22 -0500 |
---|---|---|
committer | Omar Vega Ramos <ovruni@gnu.org.pe> | 2018-02-07 05:13:22 -0500 |
commit | 747170ed18fcc305f1f5b67d7b7f620e504d6a19 (patch) | |
tree | 5f12ff1b141c38ed8d96c9ef7992588970763c0c /libre/linux-libre-firmware | |
parent | 7ba8724969238ec1f6e4b052f357e99b5cf0d9b1 (diff) | |
download | abslibre-747170ed18fcc305f1f5b67d7b7f620e504d6a19.tar.gz abslibre-747170ed18fcc305f1f5b67d7b7f620e504d6a19.tar.bz2 abslibre-747170ed18fcc305f1f5b67d7b7f620e504d6a19.zip |
linux-libre-firmware-20180112.e200e49-1: updating version
See https://jxself.org/firmware.shtml
Diffstat (limited to 'libre/linux-libre-firmware')
-rw-r--r-- | libre/linux-libre-firmware/PKGBUILD | 46 |
1 files changed, 29 insertions, 17 deletions
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. <megver83@parabola.nu> +# Contributor: Omar Vega Ramos <ovruni@gnu.org.pe> # Contributor: André Silva <emulatorman@hyperbola.info> # Contributor: Márcio Silva <coadde@hyperbola.info> # Contributor: Luke Shumaker <lukeshu@sbcglobal.net> 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}/" } |