# Reference: <https://postmarketos.org/devicepkg>
pkgname=device-samsung-a40
pkgdesc="Samsung Galaxy A40"
pkgver=4
pkgrel=0
url="https://postmarketos.org"
license="MIT"
arch="aarch64"
options="!check !archcheck"
depends="linux-samsung-a40 mkbootimg postmarketos-base rsyslog firmware-samsung-a40"
makedepends="devicepkg-dev"
source="deviceinfo kernel-cmdline.conf initfs-hook.sh"

build() {
	devicepkg_build $startdir $pkgname
}

package() {
	devicepkg_package $startdir $pkgname
}

sha512sums="
84ceab4845c3aa16933ed92754c27b4aa85eb78173294881aae5ec07bd29764d06d90f3252263568a2f52d8995ac3ff6e090a02cd6fb6ec2461079b37de8a3b0  deviceinfo
286d590a20720df1ae56f73fa6d1c0f92b3d8218cab99fc502ef41095ff85288726ff9993c9404500e111229e421bb0d2b284621cb4d04ac2930174549d8c7fa  kernel-cmdline.conf
04445194a5245d08fcf1b425bff1d8dd6a8fdacafdc151223634299a35f1eb20fbd733979b58bcfd854e16fde02629c28453f840d6c9dc34fc15d4fcc8aa4302  initfs-hook.sh
"
