pmaports/device/testing/device-oneplus-lemonade/APKBUILD

41 lines
793 B
Text
Raw Normal View History

# Reference: <https://postmarketos.org/devicepkg>
pkgname=device-oneplus-lemonade
pkgdesc="OnePlus 9"
pkgver=0.3
pkgrel=2
url="https://postmarketos.org"
license="MIT"
arch="aarch64"
options="!check !archcheck"
depends="
linux-postmarketos-qcom-sm8350
mkbootimg
postmarketos-base
soc-qcom-sm8350
"
makedepends="
devicepkg-dev
"
source="
deviceinfo
"
subpackages="$pkgname-nonfree-firmware:nonfree_firmware"
build() {
devicepkg_build $startdir $pkgname
}
package() {
devicepkg_package $startdir $pkgname
}
nonfree_firmware() {
pkgdesc="Modem, WiFi, and GPU Firmware"
depends="firmware-oneplus-lemonade"
mkdir "$subpkgdir"
}
sha512sums="
5fcb30c77b308fa6a976b26cc3c992f25d7438ffbad2bcd0e3a4c834372f7ac1e6a3dd7e5cc630ba435c699b4772b7f9cbc661c6d7ba74adfdda728904a8764f deviceinfo
"