void-packages/srcpkgs/rtl8723bt-firmware/template

29 lines
997 B
Bash
Raw Normal View History

# Template file for 'rtl8723bt-firmware'
pkgname=rtl8723bt-firmware
version=0.0.202008
revision=1
_commit=8840b1052b4ee426f348cb35e4994c5cafc5fbbd
wrksrc="${pkgname}-${_commit}"
# Only required for PinePhone
archs="aarch64*"
short_desc="Firmware for RTL8723BT"
maintainer="John Sullivan <jsullivan@csumb.edu>"
license="custom:Shareware"
homepage="https://github.com/anarsoul/rtl8723bt-firmware"
distfiles="https://github.com/anarsoul/${pkgname}/archive/${_commit}.tar.gz"
checksum=fe2f1ff396b205a5e458ffce23a71aee990d2799326f2a5726a19c47729e3f32
repository=nonfree
do_install() {
vinstall rtl_bt/rtl8723cs_xx_fw.bin 644 usr/lib/firmware/rtl_bt
vinstall rtl_bt/rtl8723cs_xx_config.bin 644 usr/lib/firmware/rtl_bt
# Some drivers load config blob from specific filenames, install links for
# those here
ln -s /usr/lib/firmware/rtl_bt/rtl8723cs_xx_config.bin \
"${DESTDIR}/usr/lib/firmware/rtl_bt/rtl8723cs_xx_config-pinephone.bin"
vlicense LICENCE.rtlwifi_firmware.txt
vlicense WHENCE
}