32 lines
923 B
Text
32 lines
923 B
Text
pkgname=firmware-samsung-grandmax
|
|
pkgver=1
|
|
pkgrel=0
|
|
_name="Samsung Galaxy Grand Max"
|
|
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/7Kp9JMgq"
|
|
|
|
_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="
|
|
9c59763c49a300c75de914d13c4f99b13766f89bf7030a2d8c59bf6154febf33d11918f46b0fae314a2b42fe86438aaf8e8dcbda2ae5d58a9f52daa5c1a0c154 firmware-samsung-grandmax-WCNSS_qcom_wlan_nv.bin.base64
|
|
"
|