# Reference: <https://postmarketos.org/devicepkg>
pkgname=device-oneplus-onyx
pkgdesc="OnePlus X"
pkgver=4
pkgrel=0
url="https://postmarketos.org"
license="MIT"
arch="armv7"
options="!check !archcheck"
depends="postmarketos-base linux-oneplus-onyx mkbootimg"
makedepends="devicepkg-dev"
source="deviceinfo kernel-cmdline.conf"

build() {
	devicepkg_build $startdir $pkgname
}

package() {
	devicepkg_package $startdir $pkgname
}

sha512sums="
9216395db01d66b011226a54eb2e05e2d0326e7d4836797c93d003ff7c5f310d65b23b1150c986d456cb6803c3fa18345b9686652a0f639acca77b490fd9e376  deviceinfo
f0127b88bfb1638849f837fe7197a3a76e7bd0d82b0a43e40631fccd344cda552ae8153bf7b450be4f71cebcf9d034ca2247fd3c0efafaed82dd361992139d36  kernel-cmdline.conf
"
