2019-01-19 23:12:00 +00:00
|
|
|
# Reference: <https://postmarketos.org/devicepkg>
|
2020-01-10 10:32:52 +00:00
|
|
|
# Contributor: Hacker1245 <kacper12455@gmail.com>
|
2019-01-19 23:12:00 +00:00
|
|
|
pkgname="device-motorola-cedric"
|
|
|
|
pkgdesc="Motorola Moto G5"
|
|
|
|
pkgver=0.1
|
2020-01-28 14:40:18 +00:00
|
|
|
pkgrel=3
|
2019-01-19 23:12:00 +00:00
|
|
|
url="https://postmarketos.org"
|
|
|
|
license="MIT"
|
|
|
|
arch="aarch64"
|
|
|
|
options="!check !archcheck"
|
|
|
|
depends="postmarketos-base linux-motorola-cedric mkbootimg mesa-dri-swrast msm-fb-refresher"
|
|
|
|
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
|
|
|
|
2020-03-07 18:48:29 +00:00
|
|
|
sha512sums="6d8da4e47499926650f0ba5d8ac881ef4d6374788580a50ef84990529658da425ce59bf7034d018fa64f671ad562cc2dc7c933dc7a65c1634f85b6e11b0e577e deviceinfo
|
2019-01-19 23:12:00 +00:00
|
|
|
371dd1df5fa3b81031c9277b45e1b6dc158c2a71ef519c374aac8fd23792004ed7bd8dcba7c3097e08a571d15313acb732e3716ef57ddc6c11f8cb88b8c91670 initfs-hook.sh"
|