pmaports/firmware/firmware-samsung-jflte/APKBUILD
Oliver Smith 771612344d
other device related packages: don't use noarch
It does not make sense to build most of them for x86_64 for example.
2018-11-27 07:47:11 +01:00

23 lines
848 B
Text

pkgname=firmware-samsung-jflte
pkgver=1.1
pkgrel=0
pkgdesc="Samsung Galaxy S4 Firmware"
url="https://github.com/flo071/proprietary_vendor_samsung_jf-common"
arch="armhf"
license="proprietary"
options="!check !strip"
# Source
_commit="af95c8f4af9fda8b909579dafc30ec1ce29cb12d"
source=$pkgname-$_commit.tar.gz::$url"/archive/${_commit}.tar.gz"
package() {
cd "$srcdir/proprietary_vendor_samsung_jf-common-${_commit}/proprietary/"
# Wifi
install -Dm644 "etc/wifi/bcmdhd_sta.bin" \
"$pkgdir/lib/firmware/postmarketos/bcmdhd_sta.bin"
install -Dm644 "etc/wifi/nvram_net.txt" \
"$pkgdir/lib/firmware/postmarketos/nvram_net.txt"
}
sha512sums="b8b92806123b4ab5c02adfb1e33ad18a84a51f181485f7fffe51a6d60678b9750c3bc461550b0a3afde99b4685c8720b0b8be3626f68a284863cb10e3c68c7c5 firmware-samsung-jflte-af95c8f4af9fda8b909579dafc30ec1ce29cb12d.tar.gz"