# Reference: <https://postmarketos.org/devicepkg>
pkgname=device-cubietech-cubieboard
pkgdesc="Cubietech Cubieboard"
pkgver=0.1.1
pkgrel=1
url="https://postmarketos.org"
license="MIT"
arch="armv7"
options="!check !archcheck"
depends="
	linux-edge
	postmarketos-base
	u-boot-sunxi
	"
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="
b83f061da45a453a9dc13d0c2396bbc7980008a8dd04d8611a287737d90c11e7854203dbce91e6f51eb5da370703ba01865e397f10c03b662b41ada127cb7334  deviceinfo
1e6e94ae7115af82ada2131ef59cba82a00933e65f7c04482bc714a7d117a6700de9e3254b98405e3d07c489883f073443aa1390ed026717afe3642b6b09e268  extlinux.conf
"
