# Reference: # Maintainer: JustSoup321 # Co-Maintainer: Alper Nebi Yasak # Co-Maintainer: Jenneron pkgname=device-google-x64cros pkgdesc="Google Chromebooks with x64 CPU" pkgver=7 pkgrel=0 url="https://postmarketos.org" license="MIT" arch="x86_64" options="!check !archcheck" depends=" depthcharge-tools postmarketos-base postmarketos-cros-common postmarketos-update-depthcharge-kernel systemd-boot " makedepends="devicepkg-dev" install="$pkgname.post-install $pkgname.post-upgrade" subpackages=" $pkgname-kernel-lts:kernel_lts $pkgname-kernel-edge:kernel_edge $pkgname-nonfree-firmware:nonfree_firmware $pkgname-nonfree-firmware-amd:nonfree_firmware_amd $pkgname-nonfree-firmware-intel:nonfree_firmware_intel " source="deviceinfo modules-initfs" _pmb_recommends=" oem-intel oem-amd " build() { devicepkg_build $startdir $pkgname } package() { devicepkg_package $startdir $pkgname } kernel_edge() { pkgdesc="Alpine Edge kernel" depends="linux-edge" devicepkg_subpackage_kernel $startdir $pkgname $subpkgname } kernel_lts() { pkgdesc="Alpine LTS kernel" depends="linux-lts" devicepkg_subpackage_kernel $startdir $pkgname $subpkgname } nonfree_firmware() { pkgdesc="Firmware for x86_64 devices" mkdir -p "$subpkgdir" } nonfree_firmware_amd() { install_if="$pkgname-nonfree-firmware=$pkgver-r$pkgrel oem-amd" depends="oem-amd-nonfree-firmware" mkdir -p "$subpkgdir" } nonfree_firmware_intel() { install_if="$pkgname-nonfree-firmware=$pkgver-r$pkgrel oem-intel" depends="oem-intel-nonfree-firmware" mkdir -p "$subpkgdir" } sha512sums=" 9260fe8df64e284f137f77844562d2f08e28d72d36a50772b0216cd7d68eeb41d0cdb650d0f0d1ad04c3906991aba0561c36813a2beb62cedf16f616c9ccedb9 deviceinfo 1b3bbfcdc6642488304653aef996dddf7a354e7279f2c735ac7aec404e598948423630fcaa2cac87e2c0aef033ecfc57a7a91154f9dac9a85411db7bad62e677 modules-initfs "