/
APKBUILD
32 lines (28 loc) · 1.65 KB
/
APKBUILD
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
26
27
28
29
30
31
32
# Maintainer: He Yangxuan <yangxuan8282@gmail.com>
pkgname=pi-bluetooth
pkgver=1
pkgrel=1
pkgdesc="Services, firmware to make built-in bluetooth work on Raspberry Pi zero, 3B, 3B plus"
url="https://github.com/RPi-Distro/bluez-firmware"
arch="armhf"
license="multiple"
depends="bluez-deprecated"
install="$pkgname.post-install"
source="https://raw.githubusercontent.com/RPi-Distro/bluez-firmware/master/broadcom/BCM43430A1.hcd
https://raw.githubusercontent.com/RPi-Distro/bluez-firmware/master/broadcom/BCM4345C0.hcd
pi-bluetooth
$install
LICENCE.broadcom_bcm43xx"
package() {
cd "$srcdir"
mkdir -p "$pkgdir"/etc/init.d
mkdir -p "$pkgdir"/lib/firmware/brcm
cp *.hcd "$pkgdir"/lib/firmware/brcm/
cp pi-bluetooth "$pkgdir"/etc/init.d/
install -Dm644 LICENCE.broadcom_bcm43xx "$pkgdir"/usr/share/licenses/$pkgname/LICENCE.broadcom_bcm43xx
}
sha512sums="a7b37bce092367125e390017bb0329c3b7f8fa891cf30d422ee73ce53d0592d4ff0fc2e2a94a87eefb641d5dd8631fae1cc46664224dea987ca04b68a8af8519 BCM43430A1.hcd
253317b2dd182f9111fa9c5f6ab924fa6708b35dca87f2039933f4e1f5a56e4172527b0ed3ef33e1a992beb5146be9e21e00d6f91458dea3ff98d1d38a80a58c BCM4345C0.hcd
55e2a18ad0b2b7e6ec8285a2c60bfe69128e91c47fcff8ac21dc03d81080750f22bc6b15de9dd6def8b1259061c45427ad860481665514f520e8485395d93edc pi-bluetooth
79933671bd5e153fae1fd90db6cc976c4cafd8635fe06e9a186a9cd8e2386ee370080d3f1f9226e3d0a2771d8555111efc380864bd4345117a896a7929e1d77f pi-bluetooth.post-install
bc2975793764bbd287f9f207d5b5abf49606dc65cfdebf1783e1e660f9872b409c4ab98287da9a3926aea657e00439f3f946d253e1cf7666a3a7e527543dc1a6 LICENCE.broadcom_bcm43xx"