2020-04-18 22:32:11 +00:00
|
|
|
# Reference: <https://postmarketos.org/devicepkg>
|
|
|
|
pkgname=device-motorola-ali
|
|
|
|
pkgdesc="Motorola Moto G6"
|
2022-11-19 21:33:45 +00:00
|
|
|
pkgver=0.2
|
|
|
|
pkgrel=0
|
2020-04-18 22:32:11 +00:00
|
|
|
url="https://postmarketos.org"
|
|
|
|
license="MIT"
|
2022-11-19 21:33:45 +00:00
|
|
|
arch="aarch64"
|
2020-04-18 22:32:11 +00:00
|
|
|
options="!check !archcheck"
|
2022-11-19 21:33:45 +00:00
|
|
|
depends="postmarketos-base linux-postmarketos-qcom-msm8953 mkbootimg"
|
2020-04-18 22:32:11 +00:00
|
|
|
makedepends="devicepkg-dev"
|
2022-11-19 21:33:45 +00:00
|
|
|
source="deviceinfo"
|
|
|
|
|
|
|
|
subpackages="
|
|
|
|
$pkgname-nonfree-firmware:nonfree_firmware
|
|
|
|
"
|
2020-04-18 22:32:11 +00:00
|
|
|
|
|
|
|
build() {
|
|
|
|
devicepkg_build $startdir $pkgname
|
|
|
|
}
|
|
|
|
|
|
|
|
package() {
|
|
|
|
devicepkg_package $startdir $pkgname
|
2022-11-19 21:33:45 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
nonfree_firmware() {
|
|
|
|
pkgdesc="GPU/Wi-Fi/Bluetooth/Audio/Video/Modem firmware"
|
|
|
|
depends="firmware-motorola-ali msm-firmware-loader"
|
|
|
|
mkdir "$subpkgdir"
|
2020-04-18 22:32:11 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
|
2021-09-18 17:06:03 +00:00
|
|
|
sha512sums="
|
2022-11-19 21:33:45 +00:00
|
|
|
c37874a3f9a0ba08a213a8186275f7719f5b4f39bcb542424523860492646bc4d1d48a1c10f8d03950a1ee4fa655ee397c7b89ab62c085ed851b139767852e34 deviceinfo
|
2021-09-18 17:06:03 +00:00
|
|
|
"
|