# Reference: <https://postmarketos.org/devicepkg>
maintainer="Bart Ribbers <bribbers@disroot.org>"
pkgname=device-pine64-rockpro64
pkgver=6
pkgrel=0
pkgdesc="PINE64 ROCKPro64"
url="https://postmarketos.org"
license="MIT"
arch="aarch64"
options="!check !archcheck"
depends="
	firmware-pine64-rockpro64
	linux-firmware-brcm
	linux-firmware-rockchip
	linux-postmarketos-rockchip
	postmarketos-base>=25-r1
	soc-rockchip-rk3399
	u-boot-rockchip
	"
makedepends="devicepkg-dev"
source="deviceinfo kernel-cmdline.conf"

build() {
	devicepkg_build $startdir $pkgname
}

package() {
	devicepkg_package $startdir $pkgname
}

sha512sums="
c0adebb2ea75d9ec429d2b3bdf91bd11d35d4bb9ce8ffcffa5f21f9686a0e8e47aed344ea167df7aa7a12d5efd89ef12aefed27476e908d2b6bca5857c76f716  deviceinfo
b7708fa690798ece0368d21cda7379a8824aaa050444401029a1aa698b85a9920dc4aed78b909370e005f2ace9554cd2e499eefd1570615e14a25e2be420bbc5  kernel-cmdline.conf
"
