pmaports/device/community/firmware-samsung-e7/APKBUILD

32 lines
887 B
Text
Raw Normal View History

2022-03-03 16:09:21 +00:00
pkgname=firmware-samsung-e7
pkgver=1
pkgrel=2
_name="Samsung Galaxy E7"
2022-03-03 16:09:21 +00:00
pkgdesc="Firmware for $_name"
url="https://postmarketos.org"
subpackages="$pkgname-wcnss-nv:wcnss_nv"
arch="armv7"
license="proprietary"
options="!check !strip !archcheck !tracedeps pmb:cross-native"
source="$pkgname-WCNSS_qcom_wlan_nv.bin.base64::https://pastebin.com/raw/qF2Y0k5R"
_fwdir="/lib/firmware/postmarketos"
build() {
2022-03-03 16:09:21 +00:00
base64 -d $pkgname-WCNSS_qcom_wlan_nv.bin.base64 > WCNSS_qcom_wlan_nv.bin
}
package() {
# parent package is empty
mkdir -p "$pkgdir"
}
wcnss_nv() {
pkgdesc="$_name WiFi/BT firmware configuration"
install -Dm644 "$srcdir"/WCNSS_qcom_wlan_nv.bin -t "$subpkgdir/$_fwdir"/wlan/prima
}
sha512sums="
0eeb72701a60dc202467c27fd44d4961dd3771e435426415df7e43f8e71af0e5f1af1ed824402794a8eb927e8bfb85a6ff942e347d3bb0e0fca41ef5967bf570 firmware-samsung-e7-WCNSS_qcom_wlan_nv.bin.base64
"