25 lines
838 B
Text
25 lines
838 B
Text
# Reference: <https://postmarketos.org/devicepkg>
|
|
pkgname="device-motorola-shamu"
|
|
pkgdesc="Motorola Google Nexus 6"
|
|
pkgver=0.2
|
|
pkgrel=0
|
|
url="https://postmarketos.org"
|
|
license="MIT"
|
|
arch="noarch"
|
|
options="!check"
|
|
depends="linux-motorola-shamu mkbootimg mesa-dri-swrast"
|
|
makedepends="devicepkg-dev"
|
|
source="deviceinfo initfs-hook.sh"
|
|
|
|
build() {
|
|
devicepkg_build $startdir $pkgname
|
|
}
|
|
|
|
package() {
|
|
devicepkg_package $startdir $pkgname
|
|
install -Dm644 "$srcdir"/initfs-hook.sh \
|
|
"$pkgdir"/etc/postmarketos-mkinitfs/hooks/00-${pkgname}.sh
|
|
}
|
|
|
|
sha512sums="13c79ab6154aaea987a6214d0cc22bd940c111ef4759064ef1abb32b5148b1e07932ab011441f7e97ce39d9bc84a21a5064c2e0940d7818f7d5085d768445057 deviceinfo
|
|
61ca4daae82a27775463d95d7857324ea542bec47dc1f9b0106d1dadd3d9da66bba5a5c9a4e28a8330fd117a49432ea063ef4a0e27e9c6b0826d3abcf11f7e44 initfs-hook.sh"
|