pmaports/device/device-motorola-harpia/APKBUILD

32 lines
899 B
Text
Raw Normal View History

# Reference: <https://postmarketos.org/devicepkg>
# Maintainer: Ruby Iris Juric <ruby@srxl.me>
pkgname="device-motorola-harpia"
pkgdesc="Motorola Moto G4 Play"
pkgver=1
pkgrel=0
url="https://postmarketos.org"
license="MIT"
arch="aarch64"
options="!check !archcheck"
depends="postmarketos-base mkbootimg linux-postmarketos-qcom-msm8916 soc-qcom-msm8916"
makedepends="devicepkg-dev"
source="deviceinfo"
subpackages="$pkgname-nonfree-firmware:nonfree_firmware"
build() {
devicepkg_build $startdir $pkgname
}
package() {
devicepkg_package $startdir $pkgname
}
nonfree_firmware() {
pkgdesc="GPU/Wi-Fi/Bluetooth/Video firmware"
depends="linux-firmware-qcom firmware-motorola-harpia-wcnss firmware-motorola-harpia-venus"
mkdir "$subpkgdir"
}
sha512sums="42fff2887c7670aecfd1d2e1f64d11401c13115d33e86f167201b9c765d03d3fbd6a5fd6392deeaceffc1580315eac115126001bfee0609424241f10b082ea8f deviceinfo"