# Reference: pkgname=device-semc-anzu pkgdesc="Xperia Arc" pkgver=1 pkgrel=5 url="https://postmarketos.org" license="MIT" arch="noarch" options="!check" depends="postmarketos-base linux-semc-anzu msm-fb-refresher mkbootimg libsparse mesa-dri-swrast" makedepends="devicepkg-dev" subpackages="$pkgname-nonfree-firmware:nonfree_firmware" source=" deviceinfo modules-load.conf " build() { devicepkg_build $startdir $pkgname } package() { devicepkg_package $startdir $pkgname install -Dm644 "$srcdir"/modules-load.conf \ "$pkgdir"/etc/modules-load.d/00-${pkgname}.conf } nonfree_firmware() { pkgdesc="Wifi firmware" depends="linux-firmware" mkdir "$subpkgdir" } sha512sums="1385106ad7ebf3ac64505a46a6087c3f7bc656771326bbf4cdced26d83e394b013b262e0ee95bc487dd86e4fb23069ebcb279e2844dcd5027ed9b6d7ed22aa57 deviceinfo fc2241310bfc9777cd2240857d9176c48dbc8bdbd871b280e2703a2dce7c3810c0a36b78557088d81a161900c74ece2015c40b3c7e72f7970b46a3991e7856c2 modules-load.conf"