2018-01-06 14:51:47 +00:00
|
|
|
# Reference: <https://postmarketos.org/devicepkg>
|
|
|
|
pkgname="device-motorola-shamu"
|
|
|
|
pkgdesc="Motorola Google Nexus 6"
|
2018-01-12 22:01:55 +00:00
|
|
|
pkgver=0.3
|
2018-03-07 22:35:02 +00:00
|
|
|
pkgrel=3
|
2018-01-06 14:51:47 +00:00
|
|
|
url="https://postmarketos.org"
|
|
|
|
license="MIT"
|
|
|
|
arch="noarch"
|
|
|
|
options="!check"
|
2018-02-25 18:40:54 +00:00
|
|
|
depends="postmarketos-base linux-motorola-shamu mkbootimg mesa-dri-swrast msm-fb-refresher"
|
2018-01-06 14:51:47 +00:00
|
|
|
makedepends="devicepkg-dev"
|
2018-01-07 07:55:13 +00:00
|
|
|
source="deviceinfo initfs-hook.sh"
|
2018-01-06 14:51:47 +00:00
|
|
|
|
|
|
|
build() {
|
|
|
|
devicepkg_build $startdir $pkgname
|
|
|
|
}
|
|
|
|
|
|
|
|
package() {
|
|
|
|
devicepkg_package $startdir $pkgname
|
2018-01-07 07:55:13 +00:00
|
|
|
install -Dm644 "$srcdir"/initfs-hook.sh \
|
|
|
|
"$pkgdir"/etc/postmarketos-mkinitfs/hooks/00-${pkgname}.sh
|
2018-01-06 14:51:47 +00:00
|
|
|
}
|
|
|
|
|
2018-03-07 22:35:02 +00:00
|
|
|
sha512sums="9d1862f7732dc92c99caa388c616ae9de9507a1c4bfb7d7bf7d5d8bc0b2f7801e32af033927e3e6d8a823787dc819426105e298172c2a5df11d708966e2ed901 deviceinfo
|
2018-01-12 22:01:55 +00:00
|
|
|
c4f4785a9fea1d8b461e1de4dcd04daae45bd9df94f8123655b981de5ac5718f082a59169c39c506aa996c1642f465249fbc8b6e1c0463aeca6abf74ff523d9c initfs-hook.sh"
|