# Reference: # Maintainer: Jenneron pkgname=device-google-veyron-speedy pkgdesc="ASUS Chromebook C201" pkgver=3 pkgrel=0 url="https://postmarketos.org" license="MIT" arch="armv7" # pmb:strict: avoid grub-related install error during build with pmbootstrap options="!check !archcheck pmb:strict" depends=" alsa-ucm-conf>=1.2.7.1-r0 linux-google-veyron u-boot-veyron-speedy postmarketos-base " subpackages=" $pkgname-i3wm $pkgname-nonfree-firmware:nonfree_firmware $pkgname-phosh " makedepends="devicepkg-dev grub grub-efi" source=" deviceinfo i3wm/xorg.conf.d/90-tap-to-click.conf grub.cfg phoc.ini " build() { devicepkg_build $startdir $pkgname grub-mkimage \ --prefix="/grub" \ --output="bootarm.efi" \ --format="arm-efi" \ --compression="xz" \ \ all_video \ disk \ efi_gop \ fat \ gzio \ iso9660 \ linux \ normal \ part_gpt \ part_msdos } package() { devicepkg_package $startdir $pkgname install -D "$srcdir"/grub.cfg \ "$pkgdir"/boot/grub/grub.cfg install -D "$srcdir"/bootarm.efi \ "$pkgdir"/boot/EFI/Boot/bootarm.efi } # The only way to right click on this device i3wm() { install_if="$pkgname=$pkgver-r$pkgrel postmarketos-ui-i3wm" install -Dm644 "$srcdir"/90-tap-to-click.conf \ "$subpkgdir"/etc/X11/xorg.conf.d/90-tap-to-click.conf } nonfree_firmware() { pkgdesc="WiFi/BT firmware" depends="firmware-google-veyron-brcm" mkdir "$subpkgdir" } phosh() { install_if="$pkgname=$pkgver-r$pkgrel postmarketos-ui-phosh" install -Dm644 "$srcdir"/phoc.ini \ "$subpkgdir"/etc/phosh/phoc.ini } sha512sums=" 104a29143e44713c28ef576c96f3ae856041fd2e05dbff0505fcc85da3a1931f79e6854fbc9dd3e48182d08bb152194d1e4077d1c6a05fda3b10928c8b2bb789 deviceinfo e53ca475830930ecfc1fd537702e850e2abcb66fbed521cb6c3a2918d762649254bd0244ec93a47b20dfc593ec3afc9bdebdec1759a7bc96dcbe4800f40893da 90-tap-to-click.conf 8c40a36932830871dcc406efc35fc7535c834ece0a0540cd0af6b57795b9ed0aff7d41d765ef83b38c1bcd3f215827244b9d74bc29e65f33dc1dafc96416ceeb grub.cfg bd63cfc97d37e81dd9559dad60f330c10dc280afd20081495c6302960fcacf32954e3edab53294fcd5278e86c53c47a95b345a8d9e18807d88fe4313d519d259 phoc.ini "