b73b434423
This uses the same settings that aports/linux-firmware will use with https://gitlab.alpinelinux.org/alpine/aports/-/merge_requests/60282
29 lines
1.1 KiB
Text
29 lines
1.1 KiB
Text
# Maintainer: Martijn Braam <martijn@brixit.nl>
|
|
# Co-Maintainer: Bart Ribbers <bribbers@disroot.org>
|
|
pkgname=firmware-pine64-rtl8723bt
|
|
pkgver=0_git20200705
|
|
pkgrel=1
|
|
_commit="8840b1052b4ee426f348cb35e4994c5cafc5fbbd"
|
|
pkgdesc="Firmware for rtl8723bs and rtl8723cs"
|
|
url="https://github.com/anarsoul/rtl8723bt-firmware/"
|
|
arch="aarch64"
|
|
license="proprietary"
|
|
options="!check !strip !archcheck !tracedeps pmb:cross-native"
|
|
source="https://github.com/anarsoul/rtl8723bt-firmware/archive/$_commit/rtl8723bt-firmware-$_commit.tar.gz"
|
|
subpackages="$pkgname-doc"
|
|
makedepends="zstd"
|
|
replaces="firmware-rtl8723bt"
|
|
builddir="$srcdir/rtl8723bt-firmware-$_commit"
|
|
|
|
package() {
|
|
install -d "$pkgdir/lib/firmware/rtl_bt"
|
|
|
|
for f in rtl_bt/*; do
|
|
zstd --compress -19 "$f" -o "$pkgdir/lib/firmware/$f.zst"
|
|
chmod 0644 "$pkgdir/lib/firmware/$f.zst"
|
|
done
|
|
|
|
install -Dm644 LICENCE.rtlwifi_firmware.txt "$pkgdir/usr/share/licenses/$pkgname/LICENSE"
|
|
}
|
|
|
|
sha512sums="46941d893c6ce132aad9689263b5a558675ff6e4480881ffa61d192b312e9a8deb45932f613106ce025d8f54eebceed6790b32e7fe8c25f42f105fe97ce8fc82 rtl8723bt-firmware-8840b1052b4ee426f348cb35e4994c5cafc5fbbd.tar.gz"
|