# Reference: pkgname=device-sony-sumire pkgdesc="Sony Xperia Z5" pkgver=1 pkgrel=1 url="https://postmarketos.org" license="MIT" arch="aarch64" options="!check !archcheck" depends="postmarketos-base linux-sony-sumire mkbootimg mesa-dri-swrast mkbootimg msm-fb-refresher" makedepends="devicepkg-dev" source=" deviceinfo 90-android-touch-dev.rules " subpackages=" $pkgname-nonfree-firmware:nonfree_firmware " build() { devicepkg_build $startdir $pkgname } package() { devicepkg_package $startdir $pkgname install -D -m644 "$srcdir"/90-android-touch-dev.rules \ "$pkgdir"/etc/udev/rules.d/90-android-touch-dev.rules } nonfree_firmware() { pkgdesc="Wifi firmware" depends="firmware-sony-sumire" mkdir "$subpkgdir" } sha512sums="0cadb4d3d9e45d02452dc8f305362256d9c0594adc9a1c7a9516fcca207af7e00b628803b7db61ed57699cd8a0508b366349e9e9889cccea4e5da927cc644366 deviceinfo 8b6034c0338ab4c7d648f47983aad6da07e427e7dba47baabf85a1b3ddeeda47c8d7fbcd547a302c9a759b2943ee30d3e82c3b368d8582833a058e4671638a9e 90-android-touch-dev.rules"