# Reference: # Maintainer: Nikita Travkin pkgname=device-acer-aspire1 pkgdesc="Acer Aspire 1" pkgver=1 pkgrel=0 url="https://postmarketos.org" license="MIT" arch="aarch64" # pmb:strict: avoid grub-related install error during build with pmbootstrap options="!check !archcheck pmb:strict" depends=" linux-postmarketos-qcom-sc7180 postmarketos-base soc-qcom-sc8180x " makedepends="devicepkg-dev grub grub-efi" subpackages="$pkgname-nonfree-firmware:nonfree_firmware" source=" deviceinfo modules-initfs " build() { devicepkg_build $startdir $pkgname grub-mkimage \ --prefix="/grub" \ --output="bootaa64.efi" \ --format="arm64-efi" \ --compression="xz" \ \ all_video \ cat \ configfile \ disk \ echo \ efi_gop \ fat \ gzio \ help \ iso9660 \ linux \ ls \ normal \ part_gpt \ part_msdos \ search \ search_label \ test \ true } package() { devicepkg_package $startdir $pkgname install -Dm644 "$srcdir"/bootaa64.efi \ -t "$pkgdir"/boot/EFI/Boot } nonfree_firmware() { pkgdesc="Modem, WiFi, Bluetooth and GPU Firmware" depends=" firmware-acer-aspire1 firmware-qcom-adreno-a630 linux-firmware-ath10k linux-firmware-qca soc-qcom-sc8180x-nonfree-firmware " mkdir "$subpkgdir" } sha512sums=" d1464b00c217c39fc7cfa446de802886114c2bc54b9c6b93fea4d3a139f5e51b605c879541b457dbfe0e3bca226dae216d5ecbd5ede4263533406042ae9615c6 deviceinfo 99b3c6fee1e4088ad0246170b6884c5f342893efa4d4846c4e9fa47fbf58f2dc655b8379f465e7d690621630804634533392254fc4305fea6d292a9d5eb4795a modules-initfs "