2019-03-21 10:07:55 +00:00
|
|
|
# Reference: <https://postmarketos.org/devicepkg>
|
2020-04-25 09:51:42 +00:00
|
|
|
pkgname=device-motorola-montana
|
2019-03-21 10:07:55 +00:00
|
|
|
pkgdesc="Motorola Moto G5s"
|
2020-03-20 16:53:17 +00:00
|
|
|
pkgver=0.3
|
2020-05-17 13:33:49 +00:00
|
|
|
pkgrel=1
|
2019-03-21 10:07:55 +00:00
|
|
|
url="https://postmarketos.org"
|
|
|
|
license="MIT"
|
2019-08-27 14:05:41 +00:00
|
|
|
arch="aarch64"
|
2020-03-20 16:53:17 +00:00
|
|
|
subpackages="$pkgname-nonfree-firmware:nonfree_firmware"
|
2019-03-21 10:07:55 +00:00
|
|
|
options="!check !archcheck"
|
|
|
|
depends="postmarketos-base linux-motorola-montana mkbootimg mesa-dri-swrast msm-fb-refresher"
|
|
|
|
makedepends="devicepkg-dev"
|
|
|
|
source="deviceinfo initfs-hook.sh"
|
|
|
|
|
|
|
|
build() {
|
|
|
|
devicepkg_build $startdir $pkgname
|
|
|
|
}
|
|
|
|
|
|
|
|
package() {
|
|
|
|
devicepkg_package $startdir $pkgname
|
|
|
|
}
|
|
|
|
|
2020-03-20 16:53:17 +00:00
|
|
|
nonfree_firmware() {
|
|
|
|
pkgdesc="Wifi firmware"
|
|
|
|
depends="firmware-motorola-montana-wcnss wcnss-wlan"
|
|
|
|
mkdir "$subpkgdir"
|
|
|
|
}
|
2019-03-21 10:07:55 +00:00
|
|
|
|
2020-05-17 13:33:49 +00:00
|
|
|
sha512sums="cffe57f97c0e85e8b591222987bd71de11c52d269525c5cc378fe117ee9cdd415cb71fd064bafbc1e6aa18d4df165d1fb3818b644c0dd2eac2eba5dd3aaac91e deviceinfo
|
2020-03-18 19:01:57 +00:00
|
|
|
97acac2557914cc234d75dd9869338e0eac13196649a661c59caa52b8953c4170a2fa2fbc9ee5518935c325d779b45d6c179c71474366b1200a4bd1e5172a882 initfs-hook.sh"
|