updated to version 1.0

This commit is contained in:
Jonas Heinrich 2017-11-16 11:23:40 +01:00
parent 2d30f21360
commit 7c3416cbeb
2 changed files with 21 additions and 21 deletions

View File

@ -1,10 +1,10 @@
# Generated by mksrcinfo v8 # Generated by mksrcinfo v8
# Mon Aug 14 08:01:47 UTC 2017 # Thu Nov 16 10:23:32 UTC 2017
pkgbase = linux-libre-firmware pkgbase = linux-libre-firmware
pkgdesc = Firmware files for Linux-libre pkgdesc = Firmware files for Linux-libre
pkgver = 4.13_gnu pkgver = 1.0
pkgrel = 1 pkgrel = 1
url = https://linux-libre.fsfla.org/ url = https://jxself.org/firmware
arch = any arch = any
license = GPL2 license = GPL2
depends = ath9k-htc-firmware depends = ath9k-htc-firmware
@ -24,9 +24,9 @@ pkgbase = linux-libre-firmware
conflicts = rt2x00-rt61-fw conflicts = rt2x00-rt61-fw
conflicts = rt2x00-rt71w-fw conflicts = rt2x00-rt71w-fw
conflicts = amd-ucode conflicts = amd-ucode
source = https://linux-libre.fsfla.org/pub/linux-libre/releases/4.13-gnu/linux-libre-4.13-gnu.tar.xz source = https://jxself.org/firmware/linux-libre-firmware-1.0.tar.lz
source = https://linux-libre.fsfla.org/pub/linux-libre/releases/4.13-gnu/linux-libre-4.13-gnu.tar.xz.sign source = https://jxself.org/firmware/linux-libre-firmware-1.0.tar.lz.asc
sha512sums = 9ad6866c68f29f7e4f8b53d0b857f9b3c7f6abd0054460675c76f3100db34a77c2777d7f4191831008b532cb2ab6f686d8c4f457a4d005226c73f90937963518 sha512sums = d5367457304464f71e085e944bc36f2abfff132a27f36061edb7eb45d4cd2f61166e7388411e88561a4e7f27ca897cb06a9b109a29cefc491a1e346203ee6b1e
sha512sums = SKIP sha512sums = SKIP
pkgname = linux-libre-firmware pkgname = linux-libre-firmware

View File

@ -3,14 +3,11 @@
# Contributor (Parabola): Luke Shumaker <lukeshu@sbcglobal.net> # Contributor (Parabola): Luke Shumaker <lukeshu@sbcglobal.net>
pkgname=linux-libre-firmware pkgname=linux-libre-firmware
_pkgver=4.13-gnu pkgver=1.0
_srcname=linux-${_pkgver%-*}
pkgver=${_pkgver//-/_}
pkgrel=1 pkgrel=1
pkgdesc='Firmware files for Linux-libre' pkgdesc='Firmware files for Linux-libre'
arch=('any') arch=('any')
url='https://linux-libre.fsfla.org/' url='https://jxself.org/firmware'
license=('GPL2') license=('GPL2')
depends=('ath9k-htc-firmware' 'openfwwf') depends=('ath9k-htc-firmware' 'openfwwf')
provides=('linux-firmware') provides=('linux-firmware')
@ -28,19 +25,22 @@ conflicts=('linux-firmware'
'rt2x00-rt61-fw' 'rt2x00-rt61-fw'
'rt2x00-rt71w-fw' 'rt2x00-rt71w-fw'
'amd-ucode') 'amd-ucode')
source=("https://linux-libre.fsfla.org/pub/linux-libre/releases/${_pkgver}/linux-libre-${_pkgver}.tar.xz" source=("https://jxself.org/firmware/${pkgname}-${pkgver}.tar.lz"
"https://linux-libre.fsfla.org/pub/linux-libre/releases/${_pkgver}/linux-libre-${_pkgver}.tar.xz.sign") "https://jxself.org/firmware/${pkgname}-${pkgver}.tar.lz.asc")
sha512sums=('9ad6866c68f29f7e4f8b53d0b857f9b3c7f6abd0054460675c76f3100db34a77c2777d7f4191831008b532cb2ab6f686d8c4f457a4d005226c73f90937963518' sha512sums=('d5367457304464f71e085e944bc36f2abfff132a27f36061edb7eb45d4cd2f61166e7388411e88561a4e7f27ca897cb06a9b109a29cefc491a1e346203ee6b1e'
'SKIP') 'SKIP')
validpgpkeys=( validpgpkeys=(
'474402C8C582DAFBE389C427BCB7CF877E7D47A7' # Alexandre Oliva '474402C8C582DAFBE389C427BCB7CF877E7D47A7' # Alexandre Oliva
) )
package() { build() {
cd "${srcdir}/${_srcname}" cd "${pkgname}-${pkgver}/src"
make
install -d -m755 "$pkgdir"/usr/lib/firmware }
make INSTALL_FW_PATH="$pkgdir"/usr/lib/firmware firmware_install
package() {
install -Dm644 firmware/WHENCE $pkgdir/usr/share/licenses/$pkgname cd "${pkgname}-${pkgver}/src"
install -d -m755 "$pkgdir"/usr/lib/firmware
make prefix="${pkgdir}/usr/lib/firmware" install
install -Dm644 WHENCE "${pkgdir}/usr/share/licenses/${pkgname}"
} }