From a42ac5ed538ad315790d03fc73308e6da19c7b0c Mon Sep 17 00:00:00 2001 From: John Sullivan Date: Wed, 5 Aug 2020 23:37:56 -0700 Subject: [PATCH] New package: rtl8723bt-firmware-0.0.202008 --- srcpkgs/rtl8723bt-firmware/template | 28 ++++++++++++++++++++++++++++ 1 file changed, 28 insertions(+) create mode 100644 srcpkgs/rtl8723bt-firmware/template diff --git a/srcpkgs/rtl8723bt-firmware/template b/srcpkgs/rtl8723bt-firmware/template new file mode 100644 index 00000000000..66ad62a4d37 --- /dev/null +++ b/srcpkgs/rtl8723bt-firmware/template @@ -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 " +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 +}