pmaports/device/testing/device-oneplus-lemonadep/APKBUILD

43 lines
806 B
Text
Raw Normal View History

# Reference: <https://postmarketos.org/devicepkg>
pkgname=device-oneplus-lemonadep
pkgdesc="OnePlus 9 Pro"
pkgver=1
pkgrel=0
url="https://postmarketos.org"
license="MIT"
arch="aarch64"
options="!check !archcheck"
depends="
linux-postmarketos-qcom-sm8350
mkbootimg
postmarketos-base
soc-qcom-sm8350
bootmac
"
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="
a77e512c5c2219844e62f8084fce7a9e5c13498dd8c7ad5d407c51d54f1576505bc4f4ac5dca2b311e678663d830b39b074864e2ae80fa609c1905a2db43eda1 deviceinfo
"