# Reference: pkgname=device-samsung-beyond1lte pkgdesc="Samsung Galaxy S10" pkgver=0.1 pkgrel=1 url="https://postmarketos.org" license="MIT" arch="aarch64" options="!check !archcheck" depends=" linux-samsung-beyond1lte mesa-dri-gallium mkbootimg postmarketos-base msm-fb-refresher " makedepends="devicepkg-dev" source="deviceinfo initfs-hook.sh" subpackages="$pkgname-nonfree-firmware:nonfree_firmware" build() { devicepkg_build $startdir $pkgname } package() { devicepkg_package $startdir $pkgname } nonfree_firmware() { pkgdesc="Firmware for Galaxy S10" depends="firmware-samsung-beyond1lte" mkdir "$subpkgdir" } sha512sums=" 3d433534beb92a758159864551b2174a32cdaafb58cfbcdac0b3c0de43f207875be4241560070b01037138e93759e87f6b839453e9f41eb0d9ea87a6b0b71009 deviceinfo 03deb65563f4b4421491643854927e88b2d5880b8b19ee6baa4d3fa1ec3f7d7a1c2977fd2c3c41270254efea6fa0c5fdae0a382e7c427d5a3bf6fad34c25375e initfs-hook.sh "