pmaports/device/testing/device-samsung-beyond1lte/APKBUILD

38 lines
949 B
Text
Raw Normal View History

# Reference: <https://postmarketos.org/devicepkg>
pkgname=device-samsung-beyond1lte
pkgdesc="Samsung Galaxy S10"
pkgver=0.1
pkgrel=7
url="https://postmarketos.org"
license="MIT"
arch="aarch64"
options="!check !archcheck"
depends="
linux-samsung-beyond1lte
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="
4112a8990d144de04c004b0457f3769d9426f40793381e4b3562d1591ee9b52d4d7f0f6560e5afd003671d6239bb2140022bff5305ea6d391b4b42aa47110933 deviceinfo
03deb65563f4b4421491643854927e88b2d5880b8b19ee6baa4d3fa1ec3f7d7a1c2977fd2c3c41270254efea6fa0c5fdae0a382e7c427d5a3bf6fad34c25375e initfs-hook.sh
"