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

28 lines
851 B
Text

pkgname=firmware-samsung-serranove
pkgver=1
pkgrel=0
pkgdesc="Firmware for Samsung Galaxy S4 Mini Value Edition"
url="https://pepethekingprawn.gitlab.io/firmware/"
subpackages="$pkgname-wcnss-nv:wcnss_nv"
arch="armv7"
license="proprietary"
options="!check !strip !archcheck !tracedeps pmb:cross-native"
source="https://pepethekingprawn.gitlab.io/firmware/GT-I9195I.tar.xz"
_fwdir="/lib/firmware/postmarketos"
package() {
# parent package is empty
mkdir -p "$pkgdir"
}
wcnss_nv() {
pkgdesc="Samsung Galaxy S4 Mini Value Edition WiFi/BT firmware configuration"
replaces="firmware-samsung-serranovelte-wcnss"
cd "$srcdir"
install -Dm644 WCNSS_* -t "$subpkgdir/$_fwdir"/wlan/prima
}
sha512sums="
9064ef28a3bb19a193b47f7d689ae397cdccd7cd8469bc8f7cdd4a76006a15c3f57b9a6081b9c4bd1e8499816cf244bc82337f956799a58dfc8ed40130ce5686 GT-I9195I.tar.xz
"