2018-01-06 14:51:47 +00:00
|
|
|
# Reference: <https://postmarketos.org/devicepkg>
|
|
|
|
pkgname="device-motorola-shamu"
|
|
|
|
pkgdesc="Motorola Google Nexus 6"
|
2018-01-07 07:55:13 +00:00
|
|
|
pkgver=0.2
|
2018-01-06 14:51:47 +00:00
|
|
|
pkgrel=0
|
|
|
|
url="https://postmarketos.org"
|
|
|
|
license="MIT"
|
|
|
|
arch="noarch"
|
|
|
|
options="!check"
|
|
|
|
depends="linux-motorola-shamu mkbootimg mesa-dri-swrast"
|
|
|
|
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-01-07 07:55:13 +00:00
|
|
|
sha512sums="13c79ab6154aaea987a6214d0cc22bd940c111ef4759064ef1abb32b5148b1e07932ab011441f7e97ce39d9bc84a21a5064c2e0940d7818f7d5085d768445057 deviceinfo
|
|
|
|
61ca4daae82a27775463d95d7857324ea542bec47dc1f9b0106d1dadd3d9da66bba5a5c9a4e28a8330fd117a49432ea063ef4a0e27e9c6b0826d3abcf11f7e44 initfs-hook.sh"
|