diff options
author | Pablo Lezaeta Reyes | 2017-07-23 01:47:17 -0400 |
---|---|---|
committer | Pablo Lezaeta Reyes | 2017-07-23 01:47:17 -0400 |
commit | 917c4d99c98dd360d339807f39275730adf9575c (patch) | |
tree | 04ea8dd26fe6a945a511ef580905a945bbf94a99 /PKGBUILD | |
parent | c11c6f6f0ec2e9b6ce502ad9672642210accc781 (diff) | |
download | aur-917c4d99c98dd360d339807f39275730adf9575c.tar.gz |
Improve the description and packaging
Signed-off-by: Pablo Lezaeta Reyes <prflr88@gmail.com>
Diffstat (limited to 'PKGBUILD')
-rwxr-xr-x | PKGBUILD | 16 |
1 files changed, 9 insertions, 7 deletions
@@ -2,20 +2,22 @@ pkgname=libertas-firmware pkgver=9.70.7.p0.0 -pkgrel=2 -pkgdesc="Firmware for Marvell's libertas wireless chip series" +pkgrel=4 +pkgdesc="Firmware for the Marvell Libertas wlan chipsets (OLPC, GuruPlug)" url="http://dev.laptop.org/pub/firmware/libertas/" license=("custom") arch=("any") # Use Debian Sid source, they found (now) missing firmwares in upstream server -source=("$pkgname.tar.gz::http://ftp.de.debian.org/debian/pool/non-free/libe/libertas-firmware/libertas-firmware_9.70.7.p0.0.orig.tar.gz" +source=("${pkgname}-${pkgname}.tar.gz::http://ftp.de.debian.org/debian/pool/non-free/libe/libertas-firmware/libertas-firmware_9.70.7.p0.0.orig.tar.gz" "License") package(){ - install -d 644 "$pkgdir/usr/lib/firmware" - install -d 644 "$pkgdir/usr/share/doc/$pkgname" - install -Dm 755 "$srcdir/License" "$pkgdir/usr/share/doc/$pkgname" - cp -r -a $srcdir/$pkgname-$pkgver/*bin $pkgdir/usr/lib/firmware + + install -d 644 "${pkgdir}/usr/lib/firmware" + install -D -m644 "${srcdir}/License" "${pkgdir}/usr/share/licenses/${pkgname}/License" + cp -rav "${srcdir}/${pkgname}-${pkgver}/"*bin "${pkgdir}/usr/lib/firmware" + + # Present on linux-firmware rm "$pkgdir/usr/lib/firmware/lbtf_usb.bin" } |