pkgname=device-qemu-aarch64
pkgver=1
pkgrel=13
pkgdesc="Simulated device in qemu with vexpress soc"
url="https://github.com/postmarketOS"
arch="noarch"
license="MIT"
# NOTE: 'pmbootstrap init' allows you to choose the mesa-dri-* package
depends="postmarketos-base linux-postmarketos-stable"
makedepends=""
subpackages="$pkgname-weston"
source="deviceinfo weston.ini"
options="!check"

package() {
	install -D -m644 "$srcdir"/deviceinfo \
		"$pkgdir"/etc/deviceinfo
}

weston() {
    install_if="$pkgname weston"
    install -Dm644 "$srcdir"/weston.ini \
        "$subpkgdir"/etc/xdg/weston/weston.ini
}


sha512sums="54b8caedf9bff41df5720fbfa5720adde34f067f3151df01b631c8a5cfea526035021f3fa61b823281ac7751b6e9f8480b55b58be23d3e8cc9d2854599e206a4  deviceinfo
de794566118f1744d068a94e6a75b61d43f6749a4b0871a5270fa7a2048164d609c71fcffa61845c2a7dd4cb5fbeb72c0e4f8b73b382f36d6ff0bcc9b8a5ae25  weston.ini"
