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-04-24 21:09:53 +00:00
|
|
|
pkgrel=4
|
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-04-24 21:09:53 +00:00
|
|
|
sha512sums="28d0e960b9795ce8b93016ed37852d2e616182d3dcd204e8cec25673779f1d4064562b377bb0a420807ce1bc58f37db8a97bd7d71589e557934fa54a26778aa2 deviceinfo
|
2018-01-12 22:01:55 +00:00
|
|
|
c4f4785a9fea1d8b461e1de4dcd04daae45bd9df94f8123655b981de5ac5718f082a59169c39c506aa996c1642f465249fbc8b6e1c0463aeca6abf74ff523d9c initfs-hook.sh"
|