pmaports/firmware/firmware-samsung-i9070/APKBUILD
drebrez 8b420832df Add samsung-i9070 firmware package (#455)
Also change the arch of firmware-mozilla-flame's APKBUILD to "noarch".
2017-08-24 17:26:40 +00:00

28 lines
974 B
Text

pkgname=firmware-samsung-i9070
pkgver=1
pkgrel=0
pkgdesc="Samsung Galaxy S Advance Firmware"
url="https://github.com/Epirex/android_vendor_samsung_u8500"
arch="noarch"
license="proprietary"
depends=""
makedepends=""
install=""
subpackages=""
_hash="e24d9687e7fda4f94fc6652d137ed8e703930c3a"
source=$pkgname-$_hash.tar.gz::$url"/archive/${_hash}.tar.gz"
options="!check !strip"
vsrcdir="$srcdir/android_vendor_samsung_u8500-${_hash}"
package() {
mkdir -p "$pkgdir/lib/firmware/postmarketos"
# install wifi firmware
install -Dm644 "$vsrcdir/janice/system/etc/wifi/bcmdhd_sta.bin" \
"$pkgdir/lib/firmware/postmarketos/bcmdhd_sta.bin"
install -Dm644 "$vsrcdir/janice/system/etc/wifi/nvram_net.txt" \
"$pkgdir/lib/firmware/postmarketos/nvram_net.txt"
}
sha512sums="8cb497e9403f5b9e39ad1725959c45f9bbeeb3331f0ddcb4f201f17fbe315b5b8cc5e62ca17179e4da24766697dc7ca8a1bf8f7c06552ca8dce69673f280399a firmware-samsung-i9070-e24d9687e7fda4f94fc6652d137ed8e703930c3a.tar.gz"