pmaports/device/testing/device-samsung-herolte/APKBUILD

31 lines
964 B
Text
Raw Normal View History

# Reference: <https://postmarketos.org/devicepkg>
pkgname=device-samsung-herolte
pkgdesc="Samsung Galaxy S7"
pkgver=0.1
pkgrel=6
url="https://postmarketos.org"
license="MIT"
arch="aarch64"
options="!check !archcheck"
depends="postmarketos-base linux-samsung-herolte mkbootimg mesa-dri-swrast 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 the Samsung Galaxy S7"
depends="firmware-samsung-hero"
mkdir "$subpkgdir"
}
sha512sums="52538969793f82f76582aa62c17a13f64a434c63e013d07abe94aab28def6816284f9988b4f004efe7855be16ddc7a9f600eae2349ac327aec561dc72592d5d9 deviceinfo
5a7be3cb8835ffb3783fcd4539de04f7f006c726ac9aea35cdca9e90b2877dc36cf4e314851bf9078f4b2dac061b7265866792d92a79f5232c56a0e17f7910b1 initfs-hook.sh"