# Reference: pkgname="device-samsung-klte" pkgdesc="Samsung Galaxy S5" pkgver=0.2 pkgrel=3 url="https://postmarketos.org" license="MIT" arch="armhf" options="!check !archcheck" depends="postmarketos-base mkbootimg msm-fb-refresher" makedepends="devicepkg-dev" subpackages=" $pkgname-kernel-downstream:kernel_downstream $pkgname-kernel-mainline:kernel_mainline " source="deviceinfo" build() { devicepkg_build $startdir $pkgname } package() { devicepkg_package $startdir $pkgname } kernel_downstream() { pkgdesc="Display and touchscreen works (see device table for details)" depends="linux-samsung-klte" devicepkg_subpackage_kernel $startdir $pkgname $subpkgname } kernel_mainline() { pkgdesc="For kernel development only (most features aren't working)" depends="linux-postmarketos-qcom" devicepkg_subpackage_kernel $startdir $pkgname $subpkgname } sha512sums="76c9c0b1875ff6ede19c22847afe28627aa1007e2a1ec4529cde4ed798ea14a6fef95a4669a44183b815250a7abb7d6605371590129fc89985c4fdf981865819 deviceinfo"