2019-01-19 23:12:00 +00:00
|
|
|
# Reference: <https://postmarketos.org/devicepkg>
|
2020-04-25 09:51:42 +00:00
|
|
|
pkgname=device-motorola-cedric
|
2019-01-19 23:12:00 +00:00
|
|
|
pkgdesc="Motorola Moto G5"
|
|
|
|
pkgver=0.1
|
2022-10-14 11:46:40 +00:00
|
|
|
pkgrel=10
|
2019-01-19 23:12:00 +00:00
|
|
|
url="https://postmarketos.org"
|
|
|
|
license="MIT"
|
|
|
|
arch="aarch64"
|
|
|
|
options="!check !archcheck"
|
2022-10-10 19:33:44 +00:00
|
|
|
depends="postmarketos-base linux-motorola-cedric mkbootimg msm-fb-refresher"
|
2019-01-19 23:12:00 +00:00
|
|
|
makedepends="devicepkg-dev"
|
2019-01-24 14:57:33 +00:00
|
|
|
subpackages="$pkgname-nonfree-firmware:nonfree_firmware"
|
2019-01-19 23:12:00 +00:00
|
|
|
source="deviceinfo initfs-hook.sh"
|
2019-01-19 23:12:00 +00:00
|
|
|
|
|
|
|
build() {
|
|
|
|
devicepkg_build $startdir $pkgname
|
|
|
|
}
|
|
|
|
|
|
|
|
package() {
|
|
|
|
devicepkg_package $startdir $pkgname
|
|
|
|
}
|
|
|
|
|
2019-01-24 14:57:33 +00:00
|
|
|
nonfree_firmware() {
|
|
|
|
pkgdesc="Wifi firmware"
|
|
|
|
depends="firmware-motorola-cedric"
|
|
|
|
mkdir "$subpkgdir"
|
|
|
|
}
|
2019-01-19 23:12:00 +00:00
|
|
|
|
2021-09-18 17:06:03 +00:00
|
|
|
sha512sums="
|
|
|
|
7e932688c61dbd79ae9efd5fb7ddab58b77d7760358a08e96d5998f30bb4f7740bf52df83ab2faffbf4e809197286c00ce7be8a94d870c8513cecb6072898716 deviceinfo
|
2022-10-14 11:46:40 +00:00
|
|
|
b1eed94a800e7adca79fa716cfa4cc0da550b807a8b58d150900713073e289848002a6346dd2b89e939f0660e24bc982b95c5eafbd778373714f4d78e97e856c initfs-hook.sh
|
2021-09-18 17:06:03 +00:00
|
|
|
"
|