pmaports/device/community/firmware-samsung-e7/APKBUILD
Raymond Hackley bf639fc01d
samsung-e7: Move to community (MR 3188)
Like samsung-a{3,5}, samsung-e7 works quite well. Move it to community.

[ci:skip-build] already built successfully in CI
2022-06-11 15:52:18 -07:00

32 lines
911 B
Text

pkgname=firmware-samsung-e7
pkgver=1
pkgrel=0
_name="Samsung Galaxy E7 (2015)"
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"
unpack() {
default_unpack
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
"