# Reference: pkgname="device-samsung-klte" pkgdesc="Samsung Galaxy S5" pkgver=0.2 pkgrel=4 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="f810d1ff1089824ace21c9b4da990bf802b6cd0f6247b5ad2b7434e504e427bb6d6f6171e3a6e6f2c1204c5e9e3d48e9c7a3141e7c1ae4b0ab4ad402cd923eba deviceinfo"