linux-libre-firmware/PKGBUILD

47 lines
1.4 KiB
Bash
Raw Normal View History

2015-06-08 19:26:33 +00:00
# Maintainer: André Silva <emulatorman@parabola.nu>
# Contributor: Márcio Silva <coadde@parabola.nu>
2017-05-24 00:16:00 +00:00
# Contributor (Parabola): Luke Shumaker <lukeshu@sbcglobal.net>
2015-06-08 19:26:33 +00:00
pkgname=linux-libre-firmware
2017-11-16 10:23:40 +00:00
pkgver=1.0
2015-06-08 19:26:33 +00:00
pkgrel=1
pkgdesc='Firmware files for Linux-libre'
arch=('any')
2017-11-16 10:23:40 +00:00
url='https://jxself.org/firmware'
2015-06-08 19:26:33 +00:00
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')
2017-11-16 10:23:40 +00:00
source=("https://jxself.org/firmware/${pkgname}-${pkgver}.tar.lz"
"https://jxself.org/firmware/${pkgname}-${pkgver}.tar.lz.asc")
sha512sums=('d5367457304464f71e085e944bc36f2abfff132a27f36061edb7eb45d4cd2f61166e7388411e88561a4e7f27ca897cb06a9b109a29cefc491a1e346203ee6b1e'
2015-06-08 19:26:33 +00:00
'SKIP')
validpgpkeys=(
'474402C8C582DAFBE389C427BCB7CF877E7D47A7' # Alexandre Oliva
)
2017-11-16 10:23:40 +00:00
build() {
cd "${pkgname}-${pkgver}/src"
make
}
2015-06-08 19:26:33 +00:00
2017-11-16 10:23:40 +00:00
package() {
cd "${pkgname}-${pkgver}/src"
2015-06-08 19:26:33 +00:00
install -d -m755 "$pkgdir"/usr/lib/firmware
2017-11-16 10:23:40 +00:00
make prefix="${pkgdir}/usr/lib/firmware" install
install -Dm644 WHENCE "${pkgdir}/usr/share/licenses/${pkgname}"
2015-06-08 19:26:33 +00:00
}