# Reference: pkgname="device-fairphone-fp2" pkgdesc="Fairphone 2" pkgver=2 pkgrel=0 url="https://postmarketos.org" license="MIT" arch="noarch" options="!check" depends="postmarketos-base linux-fairphone-fp2 mkbootimg mesa-dri-swrast" makedepends="devicepkg-dev" source="deviceinfo" subpackages="$pkgname-nonfree-firmware:nonfree_firmware" build() { devicepkg_build $startdir $pkgname } package() { devicepkg_package $startdir $pkgname } nonfree_firmware() { pkgdesc="WCNSS firmware (WiFi, Bluetooth, FM)" depends="firmware-fairphone-fp2" mkdir "$subpkgdir" } sha512sums="fe35eb83d1eb5bc0d6bfced5db30238730a2309e8266556f36ca2a9e34ecc2b3825b9533416e93d147ff5488455db7b760d059fde07a714137aae57d0e227e2c deviceinfo"