# Reference: pkgname=device-samsung-hero2lte pkgdesc="Samsung Galaxy S7 edge" pkgver=0.1 pkgrel=13 url="https://postmarketos.org" license="MIT" arch="aarch64" options="!check !archcheck" depends="postmarketos-base linux-samsung-hero2lte mkbootimg 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="Non-free firmware for Wi-Fi on the Samsung Galaxy S7 (edge)" depends="firmware-samsung-hero" mkdir "$subpkgdir" } sha512sums=" 137b10c3393b7931c6efe7952d0f29e95a6c937eed2125e7b302eea886cd9d9d6120f6f6526d9d2233a8c10f4d5730492a0aeaae173f04abee12c8a05b6633c8 deviceinfo 5a7be3cb8835ffb3783fcd4539de04f7f006c726ac9aea35cdca9e90b2877dc36cf4e314851bf9078f4b2dac061b7265866792d92a79f5232c56a0e17f7910b1 initfs-hook.sh "