2021-01-21 03:05:19 +00:00
|
|
|
# Reference: <https://postmarketos.org/devicepkg>
|
|
|
|
pkgname=device-samsung-a20
|
|
|
|
pkgdesc="Samsung Galaxy A20"
|
|
|
|
pkgver=0.1
|
2023-09-19 16:16:35 +00:00
|
|
|
pkgrel=7
|
2021-01-21 03:05:19 +00:00
|
|
|
url="https://postmarketos.org"
|
|
|
|
license="MIT"
|
|
|
|
arch="aarch64"
|
|
|
|
options="!check !archcheck"
|
2022-10-10 19:33:44 +00:00
|
|
|
depends="postmarketos-base linux-samsung-a20 mkbootimg"
|
2021-01-21 03:05:19 +00:00
|
|
|
makedepends="devicepkg-dev"
|
|
|
|
source="deviceinfo initfs-hook.sh"
|
|
|
|
subpackages="$pkgname-nonfree-firmware:nonfree_firmware"
|
|
|
|
|
|
|
|
build() {
|
|
|
|
devicepkg_build $startdir $pkgname
|
|
|
|
}
|
|
|
|
|
|
|
|
package() {
|
|
|
|
devicepkg_package $startdir $pkgname
|
|
|
|
}
|
|
|
|
|
|
|
|
nonfree_firmware() {
|
|
|
|
pkgdesc="Non-free firmware for the Samsung Galaxy A20"
|
|
|
|
depends="firmware-samsung-a20"
|
|
|
|
mkdir "$subpkgdir"
|
|
|
|
}
|
|
|
|
|
2021-09-18 17:06:03 +00:00
|
|
|
sha512sums="
|
2022-09-21 19:38:22 +00:00
|
|
|
ee7e75c5007a52e27e0422b628cd2dcb816aecd931ea2c0a9f17ad56eea7b0a9a8aab5a330b6a974ad28eb05cbb7372b75ef56bde6e74ea39a60d6e8afceff9e deviceinfo
|
2022-10-14 11:46:40 +00:00
|
|
|
04445194a5245d08fcf1b425bff1d8dd6a8fdacafdc151223634299a35f1eb20fbd733979b58bcfd854e16fde02629c28453f840d6c9dc34fc15d4fcc8aa4302 initfs-hook.sh
|
2021-09-18 17:06:03 +00:00
|
|
|
"
|