2019-03-21 10:07:55 +00:00
|
|
|
# Reference: <https://postmarketos.org/devicepkg>
|
2020-01-10 10:32:52 +00:00
|
|
|
# Contributor: Jakub Strzelecki <kubast2@yahoo.com>
|
2020-03-18 19:01:57 +00:00
|
|
|
# Contributor: Dolphin von Chips <DoIphinChips@protonmail.com>
|
2019-03-21 10:07:55 +00:00
|
|
|
pkgname="device-motorola-montana"
|
|
|
|
pkgdesc="Motorola Moto G5s"
|
2020-03-20 16:53:17 +00:00
|
|
|
pkgver=0.3
|
2020-03-18 19:01:57 +00:00
|
|
|
pkgrel=0
|
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-03-07 16:10:22 +00:00
|
|
|
sha512sums="769b75c85f76f792a6e12ba0f02c63938b92c015c68beca8898579a227234073f2a746214b64c1909e7d1e6490ebacff4b72f86741db7e64268be9373342e7cf deviceinfo
|
2020-03-18 19:01:57 +00:00
|
|
|
97acac2557914cc234d75dd9869338e0eac13196649a661c59caa52b8953c4170a2fa2fbc9ee5518935c325d779b45d6c179c71474366b1200a4bd1e5172a882 initfs-hook.sh"
|