pkgname=device-sony-aries
pkgver=1
pkgrel=16
pkgdesc="Sony Xperia Z3 Compact"
url="https://postmarketos.org"
arch="noarch"
license="MIT"
depends="postmarketos-base linux-sony-aries mkbootimg mesa-dri-swrast"
makedepends=""
install=""
subpackages=""
source="deviceinfo 90-android-touch-dev.rules fb-workaround.sh"
options="!check"

package() {
	install -D -m644 "$srcdir/deviceinfo" \
		"$pkgdir/etc/deviceinfo"
	install -D -m644 "$srcdir"/90-android-touch-dev.rules \
		"$pkgdir"/etc/udev/rules.d/90-android-touch-dev.rules
	install -D -m644 "$srcdir"/fb-workaround.sh \
		"$pkgdir"/etc/profile.d/fb-workaround.sh
}

sha512sums="23c4a77c324c23c70bc6dc625d24d9b96c2ea677353742477bc6136a19f43fc4db9845cfc6104766761512c67a25aab3a068390286a46dc16f1f0ea47720883c  deviceinfo
8b6034c0338ab4c7d648f47983aad6da07e427e7dba47baabf85a1b3ddeeda47c8d7fbcd547a302c9a759b2943ee30d3e82c3b368d8582833a058e4671638a9e  90-android-touch-dev.rules
13f36f33cfae5e759b3889bc4e308324fd9bcf1cc7b097bbbe3646f1243b3bc06e1b1594cc8578c52c304a2b5006babd978c5b3f258769892e80552457889f99  fb-workaround.sh"
