2020-06-21 12:31:50 +00:00
|
|
|
pkgname=firmware-samsung-u8500
|
2021-07-12 09:10:26 +00:00
|
|
|
pkgver=2
|
2020-06-21 12:31:50 +00:00
|
|
|
pkgrel=0
|
|
|
|
pkgdesc="Firmware for Samsung Galaxy devices based on ST-Ericsson U8500"
|
2021-07-12 09:10:26 +00:00
|
|
|
url="https://github.com/evokelektrique/samsung-u8500"
|
2020-06-21 12:31:50 +00:00
|
|
|
arch="armv7"
|
|
|
|
license="proprietary"
|
2021-08-28 19:28:14 +00:00
|
|
|
options="!check !strip !archcheck !tracedeps pmb:cross-native"
|
2021-07-12 09:10:26 +00:00
|
|
|
_commit="32362bbb61aac3e48d5e30d7ae506a31204469c0"
|
|
|
|
source="https://github.com/evokelektrique/samsung-u8500/archive/$_commit.tar.gz"
|
|
|
|
builddir="$srcdir/samsung-u8500-$_commit/brcm"
|
2020-06-21 12:31:50 +00:00
|
|
|
replaces="firmware-samsung-golden"
|
|
|
|
|
2021-07-12 09:10:26 +00:00
|
|
|
_fwdir="/lib/firmware/postmarketos/brcm"
|
|
|
|
_files="BCM4330B1.hcd BCM4330B1.samsung,codina.hcd BCM4330B1.samsung,gavini.hcd BCM4330B1.samsung,janice.hcd BCM4334B0.hcd BCM4334B0.samsung,golden.hcd BCM4334B0.samsung,kyle.hcd BCM4334B0.samsung,skomer.hcd brcmfmac4330-sdio.bin brcmfmac4330-sdio.samsung,codina.bin brcmfmac4330-sdio.samsung,codina.txt brcmfmac4330-sdio.samsung,gavini.bin brcmfmac4330-sdio.samsung,gavini.txt brcmfmac4330-sdio.samsung,janice.bin brcmfmac4330-sdio.samsung,janice.txt brcmfmac4334-sdio.bin brcmfmac4334-sdio.samsung,golden.bin brcmfmac4334-sdio.samsung,golden.txt brcmfmac4334-sdio.samsung,kyle.bin brcmfmac4334-sdio.samsung,kyle.txt brcmfmac4334-sdio.samsung,skomer.bin brcmfmac4334-sdio.samsung,skomer.txt"
|
2020-06-21 12:31:50 +00:00
|
|
|
|
|
|
|
package() {
|
2021-07-12 09:10:26 +00:00
|
|
|
mkdir -p "$pkgdir/$_fwdir"
|
|
|
|
for file in $_files; do
|
|
|
|
install -m644 "$file" "$pkgdir/$_fwdir"
|
|
|
|
done
|
2020-06-21 12:31:50 +00:00
|
|
|
}
|
|
|
|
|
2021-07-12 09:10:26 +00:00
|
|
|
sha512sums="
|
|
|
|
b1aa65ba9f772dbb519892fcc5115cf1526199d36060d02aad83855f3a32f241c720500c6975937aec2a522c917dc09cd68163d0c9daf8bdab537a48baefd914 32362bbb61aac3e48d5e30d7ae506a31204469c0.tar.gz
|
|
|
|
"
|