pmaports/firmware/firmware-samsung-i747m/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

24 lines
854 B
Text

pkgname=firmware-samsung-i747m
pkgver=1
pkgrel=0
pkgdesc="Samsung Galaxy SIII i747m Firmware"
url="https://github.com/Zerospeed8/device_samsung_d2att"
arch="armhf"
license="proprietary"
options="!check !strip"
# Source
_commit="15cea7e29a50a85f7cd5ce27e5ff865314467ca3"
source=$pkgname-$_commit.tar.gz::$url"/archive/${_commit}.tar.gz"
package() {
cd "$srcdir/device_samsung_d2att-${_commit}/vendor/samsung/d2att/proprietary/"
# Wifi
install -Dm644 "etc/wifi/bcmdhd_sta.bin_b2" \
"$pkgdir/lib/firmware/postmarketos/bcmdhd_sta.bin_b2"
install -Dm644 "etc/wifi/nvram_net.txt" \
"$pkgdir/lib/firmware/postmarketos/nvram_net.txt"
}
sha512sums="b212ab69c782e45e0ee1005bd952ed763437693e769f5309da482b8138a1357d070f60a11185c7c30e61a0841dde08153a4d5a78da3e51ab3aa8ebd5dfddeec7 firmware-samsung-i747m-15cea7e29a50a85f7cd5ce27e5ff865314467ca3.tar.gz"