# Reference: pkgname=device-samsung-gprime pkgdesc="Samsung Galaxy Grand Prime" pkgver=2 pkgrel=0 url="https://postmarketos.org" license="MIT" arch="aarch64" options="!check !archcheck" depends="postmarketos-base mkbootimg soc-qcom-msm8916" makedepends="devicepkg-dev" source="deviceinfo" subpackages=" $pkgname-kernel-mainline:kernel_mainline " build() { devicepkg_build $startdir $pkgname } package() { devicepkg_package $startdir $pkgname } kernel_mainline() { pkgdesc="Mainline kernel (no charging, no modem, audio routed directly)" depends="linux-postmarketos-qcom-msm8916" devicepkg_subpackage_kernel $startdir $pkgname $subpkgname } sha512sums=" 7ff3c8d831c9826fce01175d1a6b05bcd0d83b537694e20998b5cfdbecd7ac0ac1d8e9c2bac4bf86c065f17319f2642bff3b588e43b46197da99843599b7b2e7 deviceinfo "