# Reference: pkgname="device-motorola-peregrine" pkgdesc="Moto G 4G (2013)" pkgver=0.1 pkgrel=1 url="https://postmarketos.org" license="MIT" arch="noarch" options="!check" depends="postmarketos-base linux-motorola-peregrine mkbootimg mesa-dri-swrast msm-fb-refresher" 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 firmware" depends="firmware-motorola-titan" mkdir "$subpkgdir" } sha512sums="572091b996d55ce7f6a1b10b67cbd55677a251b4fdba209b6085d4cc00db411df35926fecf22c2dc62bca3c7472118643ed0956b479aa97a469d75f4b410feb7 deviceinfo"