# Reference: pkgname=device-samsung-gprimeltecan pkgdesc="Samsung Galaxy Grand Prime (CAN)" pkgver=1 pkgrel=1 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="3250227e307de1f5008ecc4b7214ba07c030b81073cb74fc64f02e0106e4894e668fd6ecbebd32b7af9ecb42cb8335716df8946832a759e66784e0c4c74f27b6 deviceinfo"