diff options
author | edward-p | 2019-03-27 23:57:34 +0800 |
---|---|---|
committer | edward-p | 2019-03-27 23:57:34 +0800 |
commit | 5e61fabcfae810a209a4fce96e6bc0e062b1716a (patch) | |
tree | 1b69eae4cbe81e859e1158ffcfa36211c216671c | |
parent | 414d7743a229e5198eee56c66875dff2463ed9b3 (diff) | |
download | aur-5e61fabcfae810a209a4fce96e6bc0e062b1716a.tar.gz |
include license
-rw-r--r-- | .SRCINFO | 5 | ||||
-rw-r--r-- | PKGBUILD | 17 |
2 files changed, 14 insertions, 8 deletions
@@ -1,10 +1,11 @@ pkgbase = broadcom-bt-firmware-git pkgdesc = Broadcom bluetooth firmware. pkgver = 12.0.1.1011_p1.r3.gc0bd928 - pkgrel = 1 + pkgrel = 2 url = https://github.com/winterheart/broadcom-bt-firmware arch = any - license = Custom + license = custom + makedepends = git provides = bcm4335c0-firmware provides = bcm4350c5-firmware provides = bcm4356a2-firmware @@ -1,28 +1,33 @@ -# Maintainer: Edward Pacman <micro.fedora <AT> gmail <dot> com> +# Maintainer: Edward Pacman <edward at edward-p.xyz> pkgname=broadcom-bt-firmware-git pkgdesc="Broadcom bluetooth firmware." conflicts=('bcm4335c0-firmware' 'bcm4350c5-firmware' 'bcm4356a2-firmware' 'bcm20702a1-firmware' 'bcm20702b0-firmware' 'bcm20703a1-firmware' 'bcm43142a0-firmware') provides=('bcm4335c0-firmware' 'bcm4350c5-firmware' 'bcm4356a2-firmware' 'bcm20702a1-firmware' 'bcm20702b0-firmware' 'bcm20703a1-firmware' 'bcm43142a0-firmware') pkgver=12.0.1.1011_p1.r3.gc0bd928 -pkgrel=1 +pkgrel=2 arch=('any') +makedepends=('git') url="https://github.com/winterheart/broadcom-bt-firmware" -license=("Custom") +license=('custom') source=("git+https://github.com/winterheart/broadcom-bt-firmware.git") sha256sums=('SKIP') pkgver() { cd "${srcdir}/broadcom-bt-firmware" - git describe --long --tags | sed 's/^v//;s/\([^-]*-g\)/r\1/;s/-/./g' } package() { + #Install firmwares cd "${srcdir}/broadcom-bt-firmware/brcm" - mkdir -p ${pkgdir}/usr/lib/firmware/brcm for i in *.hcd; do - install -m644 "$i" "${pkgdir}/usr/lib/firmware/brcm/$i" + install -Dm644 "$i" "${pkgdir}/usr/lib/firmware/brcm/$i" done + + #Install LICENSE + cd .. + install -Dm644 LICENSE.MIT.txt "${pkgdir}/usr/license/broadcom-bt-firmware-git/LICENSE.MIT.txt" + install -Dm644 LICENSE.broadcom_bcm20702 "${pkgdir}/usr/license/broadcom-bt-firmware-git/LICENSE.broadcom_bcm20702" } |