2024-06-30 21:38:09 +00:00
|
|
|
# Maintainer: Bart Ribbers <bribbers@disroot.org>
|
2020-06-23 11:00:22 +00:00
|
|
|
pkgname=firmware-pine64-rtl8723bt
|
2020-09-18 16:52:05 +00:00
|
|
|
pkgver=0_git20200705
|
2024-06-30 21:38:09 +00:00
|
|
|
pkgrel=2
|
2020-09-18 16:52:05 +00:00
|
|
|
_commit="8840b1052b4ee426f348cb35e4994c5cafc5fbbd"
|
2019-01-19 20:50:14 +00:00
|
|
|
pkgdesc="Firmware for rtl8723bs and rtl8723cs"
|
|
|
|
url="https://github.com/anarsoul/rtl8723bt-firmware/"
|
|
|
|
arch="aarch64"
|
|
|
|
license="proprietary"
|
2021-08-28 19:28:14 +00:00
|
|
|
options="!check !strip !archcheck !tracedeps pmb:cross-native"
|
2020-09-18 16:52:05 +00:00
|
|
|
source="https://github.com/anarsoul/rtl8723bt-firmware/archive/$_commit/rtl8723bt-firmware-$_commit.tar.gz"
|
|
|
|
subpackages="$pkgname-doc"
|
2024-02-09 20:33:57 +00:00
|
|
|
makedepends="zstd"
|
2020-09-18 16:52:05 +00:00
|
|
|
replaces="firmware-rtl8723bt"
|
2020-06-23 11:00:22 +00:00
|
|
|
builddir="$srcdir/rtl8723bt-firmware-$_commit"
|
2019-01-19 20:50:14 +00:00
|
|
|
|
|
|
|
package() {
|
2024-02-09 20:33:57 +00:00
|
|
|
install -d "$pkgdir/lib/firmware/rtl_bt"
|
2020-06-23 11:00:22 +00:00
|
|
|
|
2024-02-09 20:33:57 +00:00
|
|
|
for f in rtl_bt/*; do
|
|
|
|
zstd --compress -19 "$f" -o "$pkgdir/lib/firmware/$f.zst"
|
|
|
|
chmod 0644 "$pkgdir/lib/firmware/$f.zst"
|
|
|
|
done
|
2020-06-23 11:00:22 +00:00
|
|
|
|
2024-02-09 20:33:57 +00:00
|
|
|
install -Dm644 LICENCE.rtlwifi_firmware.txt "$pkgdir/usr/share/licenses/$pkgname/LICENSE"
|
2019-01-19 20:50:14 +00:00
|
|
|
}
|
|
|
|
|
2020-09-18 16:52:05 +00:00
|
|
|
sha512sums="46941d893c6ce132aad9689263b5a558675ff6e4480881ffa61d192b312e9a8deb45932f613106ce025d8f54eebceed6790b32e7fe8c25f42f105fe97ce8fc82 rtl8723bt-firmware-8840b1052b4ee426f348cb35e4994c5cafc5fbbd.tar.gz"
|