47 lines
1.4 KiB
Bash
47 lines
1.4 KiB
Bash
# Maintainer: 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
|
|
pkgrel=1
|
|
pkgdesc='Firmware files for Linux-libre'
|
|
arch=('any')
|
|
url='https://jxself.org/firmware'
|
|
license=('GPL2')
|
|
depends=('ath9k-htc-firmware' 'openfwwf')
|
|
provides=('linux-firmware')
|
|
conflicts=('linux-firmware'
|
|
'linux-firmware-git'
|
|
'kernel26-firmware'
|
|
'ar9170-fw'
|
|
'iwlwifi-1000-ucode'
|
|
'iwlwifi-3945-ucode'
|
|
'iwlwifi-4965-ucode'
|
|
'iwlwifi-5000-ucode'
|
|
'iwlwifi-5150-ucode'
|
|
'iwlwifi-6000-ucode'
|
|
'rt2870usb-fw'
|
|
'rt2x00-rt61-fw'
|
|
'rt2x00-rt71w-fw'
|
|
'amd-ucode')
|
|
source=("https://jxself.org/firmware/${pkgname}-${pkgver}.tar.lz"
|
|
"https://jxself.org/firmware/${pkgname}-${pkgver}.tar.lz.asc")
|
|
sha512sums=('d5367457304464f71e085e944bc36f2abfff132a27f36061edb7eb45d4cd2f61166e7388411e88561a4e7f27ca897cb06a9b109a29cefc491a1e346203ee6b1e'
|
|
'SKIP')
|
|
validpgpkeys=(
|
|
'474402C8C582DAFBE389C427BCB7CF877E7D47A7' # Alexandre Oliva
|
|
)
|
|
|
|
build() {
|
|
cd "${pkgname}-${pkgver}/src"
|
|
make
|
|
}
|
|
|
|
package() {
|
|
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}"
|
|
}
|