pmaports/firmware/firmware-samsung-hero/APKBUILD
Minecrell a85db1dc7b
*: remove "Contributor:" lines from APKBUILDs (MR 1203)
At the moment we have Contributor: lines on some packages (but not all of them),
but often they don't represent the actual contributors to the package very well.
E.g. when we added them retroactively to the device packages we only added
the initial contributor (which isn't necessarily the person
who made most of the work for a device...)

The Git history is the most representative source for figuring out
who contributed to a package, so there is no reason to duplicate that
into the APKBUILD.

[skip ci]: way too many packages
2020-05-02 21:45:25 +03:00

24 lines
1.2 KiB
Text

pkgname=firmware-samsung-hero
pkgver=1
pkgrel=0
pkgdesc="Firmware for the Samsung hero devices (herolte, hero2lte)"
url="https://github.com/TheMuppets/proprietary_vendor_samsung"
arch="noarch"
license="proprietary"
_commit="22da2c3359151e0bbddaaa9804d4bf8de072051d"
options="!check !archcheck"
source="
bcmdhd_sta.bin_c0::https://github.com/TheMuppets/proprietary_vendor_samsung/raw/$_commit/hero-common/proprietary/etc/wifi/bcmdhd_sta.bin_c0
nvram_net.txt_c0::https://raw.githubusercontent.com/TheMuppets/proprietary_vendor_samsung/$_commit/hero-common/proprietary/etc/wifi/nvram_net.txt_c0"
package() {
# Wifi
mkdir -p "$pkgdir/lib/firmware/postmarketos"
install -Dm644 "$srcdir/bcmdhd_sta.bin_c0" \
"$pkgdir/lib/firmware/postmarketos/bcmdhd_sta.bin_c0"
install -Dm644 "$srcdir/nvram_net.txt_c0" \
"$pkgdir/lib/firmware/postmarketos/nvram_net.txt_c0"
}
sha512sums="fa27c828b6732f49f8463a6ab15c4ceb5af0aa3f40ab55b4aed46c07de641d79fbc0e2bc44ed2c6e5803dc80ffe061d60403dfe14a8b4558e8c52d0570d8ecf0 bcmdhd_sta.bin_c0
b7ee2028f641c65ec187b23d0b8d9aa0921edfb950c8f0b274de95e23a2d28d9aeaedfd868bce4d0a30a0c9798adb1ccdb2c8a39da6df7784ecbd9e9a8cd27dd nvram_net.txt_c0"