pmaports/device/testing/device-motorola-ocean/APKBUILD

39 lines
1,019 B
Text
Raw Normal View History

# Maintainer: Ultracoolguy <ultracoolguy@disroot.org>
# Reference: <https://postmarketos.org/devicepkg>
pkgname=device-motorola-ocean
pkgdesc="Motorola Moto G7 Power"
pkgver=0.3
pkgrel=4
url="https://postmarketos.org"
license="MIT"
arch="aarch64"
options="!check !archcheck"
depends="
linux-postmarketos-qcom-msm8953
mkbootimg
postmarketos-base
soc-qcom-msm8916
"
makedepends="devicepkg-dev"
source="deviceinfo modules-initfs"
subpackages="$pkgname-nonfree-firmware:nonfree_firmware"
build() {
devicepkg_build $startdir $pkgname
}
package() {
devicepkg_package $startdir $pkgname
}
nonfree_firmware() {
pkgdesc="Wifi, GPU, modem, and audio firmware"
depends="firmware-motorola-ocean"
mkdir "$subpkgdir"
}
sha512sums="
d63ee906d6c497fa8848de5ac0cabba5fb1af47186ccbff461c279bc8f1c2ee79c239267a13c0e9bebe00c65191f2392f92041ed03ba7298c97d563fe200ce6b deviceinfo
f627d473ccfc01f39ed7b1345c2795af0cd358b4738d202e53fbae07c605d239f9139b034c5a29411bafe368b92a44c756e2bd029246b385d6397f519af8ff7c modules-initfs
"