# Archived: Downstream port, only for reference. Use mainline port (oneplus-cheeseburger)!
# Reference: <https://postmarketos.org/devicepkg>
pkgname=device-oneplus-cheeseburger-downstream
pkgdesc="OnePlus 5 (Downstream)"
pkgver=5
pkgrel=0
url="https://postmarketos.org"
license="MIT"
arch="aarch64"
options="!check !archcheck"
depends="
	linux-oneplus-msm8998-downstream
	msm-fb-refresher
	mkbootimg
	postmarketos-base
"
makedepends="devicepkg-dev"
source="deviceinfo kernel-cmdline.conf"

build() {
	devicepkg_build $startdir $pkgname
}

package() {
	devicepkg_package $startdir $pkgname
}

sha512sums="
00c9c66e793209129ddc63d163e089f2c3efa4628a6d75c705b94e27ded9b68c659ddf05617a31d4a89e2da827423088b5eccebbd76c76a31ed9905e15060d3f  deviceinfo
654d5d5345fe176a1b05e315f6d0af9c17b6d8ca84eb35658c627c73a069ccad0ec4b8eb0bd1d0a11e15f32b58736f354782ffc15506065b1f5fd451218d9fa1  kernel-cmdline.conf
"
