pmaports/device/testing/device-samsung-a30/APKBUILD

34 lines
909 B
Text
Raw Normal View History

2022-01-30 11:05:27 +00:00
# Reference: <https://postmarketos.org/devicepkg>
pkgname=device-samsung-a30
pkgdesc="Samsung Galaxy A30"
pkgver=1
pkgrel=0
2022-01-30 11:05:27 +00:00
url="https://postmarketos.org"
license="MIT"
arch="aarch64"
options="!check !archcheck"
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="
dffaf05dc5f932ef73bf633bf6e6438bd5ed33cb65b0d7df5bd68756cce92e95f794f229b42cfa20db5db5c9693bba2c4636e1dd303c92c8a54e5ab9fc7722b1 deviceinfo
2022-01-30 11:05:27 +00:00
04445194a5245d08fcf1b425bff1d8dd6a8fdacafdc151223634299a35f1eb20fbd733979b58bcfd854e16fde02629c28453f840d6c9dc34fc15d4fcc8aa4302 initfs-hook.sh
"