pmaports/device/testing/device-oneplus-oneplus2/APKBUILD
Luca Weiss a17a931026
device/*: Add deviceinfo_chassis variable (MR 1246)
[ci:ignore-count], [ci:skip-build]
2020-05-24 06:35:30 +02:00

27 lines
837 B
Text

# Reference: <https://postmarketos.org/devicepkg>
pkgname=device-oneplus-oneplus2
pkgdesc="OnePlus 2"
pkgver=0.1
pkgrel=6
url="https://postmarketos.org"
license="MIT"
arch="aarch64"
options="!check !archcheck"
depends="postmarketos-base linux-oneplus-oneplus2 mkbootimg mesa-dri-swrast msm-fb-refresher"
makedepends="devicepkg-dev"
source="deviceinfo
initfs-hook.sh
"
build() {
devicepkg_build $startdir $pkgname
}
package() {
install -Dm644 "$srcdir"/deviceinfo \
"$pkgdir"/etc/deviceinfo
devicepkg_package $startdir $pkgname
}
sha512sums="62bb625439c2072f94a94d191581bba94f2d6bd9328d0f8daea303982553d121b0b329308fc9e31090c83447314592609a2373dc66ca2cce792a67e799986c53 deviceinfo
abf299888a7a2eafc483a0077b0a60ff04a9c85e54c09758896a15d5d4fe0359765d078797d6791acd0ca5ede2f46dac2674fadbbbf0905d81e9a01e97d8b470 initfs-hook.sh"