pmaports/device/community/firmware-pine64-rtl8723bt/APKBUILD
Dolphin von Chips f15f71c36f
device/community/firmware-pine64-rtl8723bt: add missing "replaces=" (MR 1400)
Package got renamed and "provides" wasn't added, so right now
`apk upgrade -a` with firmware-rtl8723bt installed results in
`ERROR: firmware-pine64-rtl8723bt-0_git20181104-r0: trying to overwrite lib/firmware/rtl_bt/rtl8723bs_config-pine64.bin owned by firmware-rtl8723bt-0_git20181104-r0.`
Add `replaces="firmware-rtl8723bt"` so `apk` prefers this package.

[ci:skip-build]: already built successfully in CI
2020-07-07 20:23:37 +02:00

24 lines
936 B
Text

pkgname=firmware-pine64-rtl8723bt
pkgver=0_git20181104
pkgrel=1
pkgdesc="Firmware for rtl8723bs and rtl8723cs"
replaces="firmware-rtl8723bt"
url="https://github.com/anarsoul/rtl8723bt-firmware/"
subpackages="$pkgname-doc"
arch="aarch64"
license="proprietary"
options="!check !strip !archcheck"
_commit="39da5959deff5041160fa85e62dddb89066471b3"
source="$pkgname-$_commit.tar.gz::https://github.com/anarsoul/rtl8723bt-firmware/archive/$_commit.tar.gz"
builddir="$srcdir/rtl8723bt-firmware-$_commit"
package() {
make DESTDIR="$pkgdir" install
# Not sure why this gets installed. Weird.
rm "$pkgdir"/lib/firmware/Makefile
install -Dm644 LICENCE.rtlwifi_firmware.txt "$pkgdir"/usr/share/licenses/$pkgname/LICENSE
}
sha512sums="8c25196e68eca60e9c14d77a472335187706b1fa0a98da8b3c5afd4d08ea8d430b0ae3187080901bd6917531914096b18fe7e69c048a05140d44cd8689c941fb firmware-pine64-rtl8723bt-39da5959deff5041160fa85e62dddb89066471b3.tar.gz"