# Reference: <https://postmarketos.org/devicepkg>
# Maintainer: Timothy Valldeperas <tvall43@gmail.com>
# Co-Maintainer: Jenneron <jenneron@protonmail.com>
pkgname=device-google-veyron-jerry
pkgdesc="Google Veyron Jerry Chromebook"
pkgver=2
pkgrel=0
url="https://postmarketos.org"
license="MIT"
arch="armv7"
options="!check !archcheck"
depends="
	alsa-ucm-conf>=1.2.7.1-r0
	linux-google-veyron
	postmarketos-base>=25-r1
"
makedepends="devicepkg-dev"
subpackages="$pkgname-nonfree-firmware:nonfree_firmware"
source="deviceinfo"

build() {
	devicepkg_build $startdir $pkgname
}

package() {
	devicepkg_package $startdir $pkgname
}

nonfree_firmware() {
	pkgdesc="WiFi/BT firmware"
	depends="linux-firmware-mrvl"
	mkdir "$subpkgdir"
}

sha512sums="
fafce2bd9112e99d061bb8fda44501aecc68ab8010a49607cdf2257bf97143d5a53087b535626d2c28bfde6724879cabb27f6f94717745c17d03672562132967  deviceinfo
"
