2022-01-30 11:05:27 +00:00
|
|
|
# Reference: <https://postmarketos.org/devicepkg>
|
|
|
|
pkgname=device-samsung-a30
|
|
|
|
pkgdesc="Samsung Galaxy A30"
|
|
|
|
pkgver=0.1
|
2022-10-10 19:33:44 +00:00
|
|
|
pkgrel=2
|
2022-01-30 11:05:27 +00:00
|
|
|
url="https://postmarketos.org"
|
|
|
|
license="MIT"
|
|
|
|
arch="aarch64"
|
|
|
|
options="!check !archcheck"
|
2022-10-10 19:33:44 +00:00
|
|
|
depends="linux-samsung-a30 mkbootimg postmarketos-base"
|
2022-01-30 11:05:27 +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="Samsung A30 nonfree firmware"
|
|
|
|
depends="firmware-samsung-a30"
|
|
|
|
mkdir "$subpkgdir"
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
sha512sums="
|
2022-09-21 19:38:22 +00:00
|
|
|
de0f4400065c90c958f394e6062da5e1ec68800c98286b2fcce1072d0ab6115f8bb1693928c122b274184238738458005ad0c13a22e00a3754bdd6cf9f179dcc deviceinfo
|
2022-01-30 11:05:27 +00:00
|
|
|
04445194a5245d08fcf1b425bff1d8dd6a8fdacafdc151223634299a35f1eb20fbd733979b58bcfd854e16fde02629c28453f840d6c9dc34fc15d4fcc8aa4302 initfs-hook.sh
|
|
|
|
"
|