# Reference: pkgname=device-samsung-codina pkgdesc="Samsung Galaxy Ace 2" pkgver=2 pkgrel=0 url="https://postmarketos.org" license="MIT" arch="armv7" options="!check !archcheck" depends="mkbootimg postmarketos-base linux-postmarketos-stericsson mesa-dri-gallium" makedepends="devicepkg-dev" subpackages=" $pkgname-nonfree-firmware:nonfree_firmware " source=" deviceinfo " build() { devicepkg_build $startdir $pkgname } package() { devicepkg_package $startdir $pkgname } nonfree_firmware() { pkgdesc="WiFi/BT firmware" depends="firmware-samsung-u8500" mkdir "$subpkgdir" } sha512sums=" ce13f2711ead5542253083a1eb4183aae0fa4aa206b578daf8771b7d8d1cf8d63d9f7e5971f939a1458769146a6e3d84cbfb8c45e7d25968994b7c1f11bdf2c1 deviceinfo "