# Reference: <https://postmarketos.org/devicepkg>
pkgname=device-cubietech-cubieboard
pkgdesc="Cubietech Cubieboard"
pkgver=0.1
pkgrel=4
url="https://postmarketos.org"
license="MIT"
arch="armv7"
options="!check !archcheck"
depends="
	linux-edge
	mesa-dri-gallium
	postmarketos-base
	u-boot-cubieboard
	"
makedepends="devicepkg-dev"
source="deviceinfo extlinux.conf"

build() {
	devicepkg_build $startdir $pkgname
}

package() {
	devicepkg_package $startdir $pkgname
	install -Dm644 "$srcdir"/extlinux.conf \
		"$pkgdir"/boot/extlinux/extlinux.conf
}

sha512sums="
aefc18ca2795482639455c395e7f4fb417d4d0bc485bc8d886a9f447e609d43b7d3645ba2508ed93f7d5767b642348ec6fb4066453eff5a7a85df879e703ba53  deviceinfo
a33dd1a89548eb95d95e07a879bf412985bd01ebfef8e2ddaaa5c3e2d173743c3530148e36a9fc81a07e67b4a35509f06852bd2f652f64a9b6224ce8d7e12d56  extlinux.conf
"
