# Reference: pkgname="device-pine-pinetab" pkgdesc="Pine64 Pinetab" pkgver=0.1 pkgrel=2 url="https://postmarketos.org" license="MIT" arch="aarch64" options="!check !archcheck" depends="postmarketos-base linux-postmarketos-allwinner u-boot-pine64 uboot-tools mesa-git mesa-git-glapi mesa-git-gl mesa-git-egl mesa-git-dri-lima mesa-git-dri-kmsro mesa-git-gbm mesa-git-gles" makedepends="devicepkg-dev" subpackages="$pkgname-sway" source=" deviceinfo uboot-script.cmd sway.conf " build() { devicepkg_build $startdir $pkgname mkimage \ -A arm \ -O linux \ -T script \ -C none \ -a 0 \ -e 0 \ -n postmarketos \ -d "$srcdir"/uboot-script.cmd \ "$srcdir"/boot.scr } sway() { install_if="$pkgname postmarketos-ui-sway" depends="dmenu" install -D -m644 "$srcdir"/sway.conf \ "$subpkgdir"/etc/sway/config.d/pinetab } package() { devicepkg_package $startdir $pkgname install -Dm644 "$srcdir"/boot.scr \ "$pkgdir"/boot/boot.scr } sha512sums="78b3414f198f2efbfcb12d6240e26a34cd48f00f75a0469c57c372a84aaac75a8f5ddd23f8cb1c16b9a9de6b2a11a8f537a1cd486f75dfbce213541f6890211b deviceinfo 9d4510bf9d448016a1884e09e29ba708e36dba04048e72964ba4f5418b6dd978042a5d658961b252ca6b1177cb483b8bb23b7bfa052446bf565ad43ded2a116d uboot-script.cmd 9e71c61bfa72b60e749c4dc04f17eb59d25de822765e81e65c937d6be5236d3951a652b69a1ab973abe6add9f34705be5dbaa98bbfa25daf7504dd50b28524c2 sway.conf"