pkgname=device-qemu-amd64 pkgver=1 pkgrel=12 pkgdesc="Simulated device in qemu with an x86 platform" url="https://github.com/postmarketOS" arch="noarch" license="MIT" depends="linux-postmarketos-lts" makedepends="" subpackages="$pkgname-x11 $pkgname-weston" source="deviceinfo interfaces weston.ini" options="!check" package() { install -D -m644 "$srcdir"/deviceinfo \ "$pkgdir"/etc/deviceinfo install -D -m644 "$srcdir"/interfaces \ "$pkgdir"/etc/network/interfaces } x11() { install_if="$pkgname xorg-server" depends="xf86-video-qxl" mkdir "$subpkgdir" } weston() { install_if="$pkgname weston" install -Dm644 "$srcdir"/weston.ini \ "$subpkgdir"/etc/xdg/weston/weston.ini } sha512sums="b3659499d1c49554e65f7ee8e4b9448c010987a213cd97c19b6d289aaf403f741c01a08cd637de7da3467dffd841055d53ab2ba93833655c10de1644350894d8 deviceinfo d510ca304066840aa5e6c4fc71ded1b7e83012c93837fa39e37bdb873b3636230030d56f7aa50c93fc688f563cb4cb96c02ad333bbc45a400c1ebee1792a9dd4 interfaces df0fe900693e5f176076c59f5379e56aaa96c3df16a4120448f15b71f530170730b43e5fe32733c40c118a00ca3581043231a062a8a1eb0a930bfbfbb6c52a47 weston.ini"