summarylogtreecommitdiffstats
path: root/PKGBUILD
blob: 2b426b9116f3296afccd73dd110a9e168ecec712 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
# Maintainer: Jristz <prflr88@gmail.com>

pkgname=libertas-firmware
pkgver=9.70.7.p0.0
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}-${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 -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"
}

md5sums=('65bc820fa3afbd8dfb420d7bd77eaca0'
         'c82933358ba7f6c9fd546d061a79de99')