New package: rtl8723bt-firmware-0.0.202008

This commit is contained in:
John Sullivan 2020-08-05 23:37:56 -07:00 committed by Đoàn Trần Công Danh
parent c55d7bb467
commit a42ac5ed53

View file

@ -0,0 +1,28 @@
# 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
}