updated to version 1.1

This commit is contained in:
bgermann 2018-03-05 23:30:47 +01:00
parent 7c3416cbeb
commit a6d5d616a6

View File

@ -1,15 +1,15 @@
# Maintainer: André Silva <emulatorman@parabola.nu>
# Contributor: André Silva <emulatorman@parabola.nu>
# Contributor: Márcio Silva <coadde@parabola.nu>
# Contributor (Parabola): Luke Shumaker <lukeshu@sbcglobal.net>
pkgname=linux-libre-firmware
pkgver=1.0
pkgver=1.1
pkgrel=1
pkgdesc='Firmware files for Linux-libre'
arch=('any')
url='https://jxself.org/firmware'
license=('GPL2')
depends=('ath9k-htc-firmware' 'openfwwf')
makedepends=('arm-none-eabi-gcc')
provides=('linux-firmware')
conflicts=('linux-firmware'
'linux-firmware-git'
@ -27,15 +27,24 @@ conflicts=('linux-firmware'
'amd-ucode')
source=("https://jxself.org/firmware/${pkgname}-${pkgver}.tar.lz"
"https://jxself.org/firmware/${pkgname}-${pkgver}.tar.lz.asc")
sha512sums=('d5367457304464f71e085e944bc36f2abfff132a27f36061edb7eb45d4cd2f61166e7388411e88561a4e7f27ca897cb06a9b109a29cefc491a1e346203ee6b1e'
sha512sums=('4ef111f86e8a87bab31e02be171e09f47d71884f1737f5329e9dd07e9f799436d8ff2de5aa0b2cfb4bc921ed02bb2b59b9a1ea69176dcef5f902364d8725e75a'
'SKIP')
validpgpkeys=(
'474402C8C582DAFBE389C427BCB7CF877E7D47A7' # Alexandre Oliva
'F611A908FFA165C699584ED49D0DB31B545A3198' # Jason Self
)
prepare() {
# ln the arm-none-eabi- prefixed tools for av7110
mkdir -p bin
ln -sf /usr/bin/arm-none-eabi-gcc bin/arm-linux-gnueabi-gcc
ln -sf /usr/bin/arm-none-eabi-ld bin/arm-linux-gnueabi-ld
ln -sf /usr/bin/arm-none-eabi-objcopy bin/arm-linux-gnueabi-objcopy
export PATH=$PATH:$(pwd)/bin
}
build() {
cd "${pkgname}-${pkgver}/src"
make
make ath9k_htc av7110 cis dsp56k isci keyspan_pda openfwwf
}
package() {
@ -43,4 +52,9 @@ package() {
install -d -m755 "$pkgdir"/usr/lib/firmware
make prefix="${pkgdir}/usr/lib/firmware" install
install -Dm644 WHENCE "${pkgdir}/usr/share/licenses/${pkgname}"
cd ../bin
install -Dm644 carl9170-1.fw "$pkgdir"/usr/lib/firmware
install -Dm644 usbdux_firmware.bin "$pkgdir"/usr/lib/firmware
install -Dm644 usbduxfast_firmware.bin "$pkgdir"/usr/lib/firmware
install -Dm644 usbduxsigma_firmware.bin "$pkgdir"/usr/lib/firmware
}