# Reference: pkgname=device-samsung-dream pkgdesc="Samsung Galaxy S8/S8+" pkgver=1 pkgrel=0 url="https://postmarketos.org" license="MIT" arch="aarch64" options="!check !archcheck" depends=" postmarketos-base postmarketos-base-downstream mkbootimg msm-fb-refresher " makedepends="devicepkg-dev" source="deviceinfo initfs-hook.sh" subpackages=" $pkgname-kernel-dreamlte:kernel_dreamlte $pkgname-kernel-dream2lte:kernel_dream2lte $pkgname-nonfree-firmware:nonfree_firmware " build() { devicepkg_build $startdir $pkgname } package() { devicepkg_package $startdir $pkgname } kernel_dreamlte() { pkgdesc="Kernel for the Samsung Galaxy S8" depends="$pkgname linux-samsung-dreamlte" mkdir "$subpkgdir" } kernel_dream2lte() { pkgdesc="Kernel for the Samsung Galaxy S8+" depends="$pkgname linux-samsung-dream2lte" mkdir "$subpkgdir" } nonfree_firmware() { pkgdesc="Non-free firmware for the Samsung Galaxy S8/S8+" depends="firmware-samsung-dream" mkdir "$subpkgdir" } sha512sums=" 5078f4297fc49c562f31a8cf4c69faa65e7db7254fccf5b89f0065bd7283b77233d2dc48f0e0668385ec1d46eb902e56bdbe4f4df9a57892e2846e0257513de4 deviceinfo 73eb760c6e29c7500b3a2090310f467bb906f7bef2556b80e00e57c25a5fdb1089e86438e67744861a5d43096d8733b812efe39e90a83584816a79d9024a2ec4 initfs-hook.sh "