pmaports/device/testing/device-oneplus-enchilada/APKBUILD
Caleb Connolly 9a08f2747a
enchilada/fajita: update device packages (MR 1271)
Add nonfree_firmware subpackage and depend on new soc-qcom-sdm845 common
package.
2020-06-02 11:20:24 +03:00

31 lines
819 B
Text

# Reference: <https://postmarketos.org/devicepkg>
# Maintainer: Caleb Connolly <caleb@connolly.tech>
pkgname=device-oneplus-enchilada
pkgdesc="OnePlus 6"
pkgver=0.1
pkgrel=0
url="https://postmarketos.org"
license="MIT"
arch="aarch64"
options="!check !archcheck"
depends="postmarketos-base mkbootimg linux-oneplus-sdm845 soc-qcom-sdm845"
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-sdm845"
mkdir "$subpkgdir"
}
sha512sums="98b7861dc862b740df65ea2abb0301c9cb0c0cd8b9324acfb095b3c6dd8d75f927a71cb90f1df85000386c4cc5f63b14e0ff361134ee141707d158f7c218cc3b deviceinfo"