# Reference: <https://postmarketos.org/devicepkg>
maintainer="Ferass El Hafidi <funderscore@postmarketos.org>"
pkgname=device-librecomputer-lepotato
pkgdesc="Libre Computer AML-S905X-CC-V1.0"
pkgver=6
pkgrel=0
url="https://postmarketos.org"
license="MIT"
arch="aarch64"
options="!check !archcheck"
depends="
	linux-firmware-meson
	linux-postmarketos-amlogic
	postmarketos-base
	soc-amlogic-aarch64
	u-boot-amlogic-librecomputer-lepotato
"
makedepends="devicepkg-dev"
source="
	deviceinfo
	kernel-cmdline.conf
	modules-initfs
"

build() {
	devicepkg_build $startdir $pkgname
}

package() {
	devicepkg_package $startdir $pkgname
}

sha512sums="
c1cf5b70bcfdbb2595c3867cc5d1ea2b9dc4bb07bb781a21dc8d082668638c9d6dce3f2e06976f53f5f7dfd86d8c78002a4622806cb16574ba00496091cc1a73  deviceinfo
97e88eaa9b8e7989a20d2572479fe5d1fe0284de862da11c91b1f347099d5704673837db01a6b0c289fee0a2d7236f64fba31fd6001475f957c23203e34fd6fb  kernel-cmdline.conf
52948c2884a6f6384e12b7a598f70878526d0d3293c214425170145231144ec7de805c038641741a4a5d75b50e554f6a3fa3769784a674217ed032f9b6a233c8  modules-initfs
"
