# Reference: pkgname=device-pine64-rockpro64 pkgver=0.1 pkgrel=3 pkgdesc="PINE64 RockPro64" url="https://postmarketos.org" license="MIT" arch="aarch64" options="!check !archcheck" depends="postmarketos-base linux-postmarketos-rockchip u-boot-rockpro64 mesa-dri-gallium" makedepends="devicepkg-dev" subpackages="$pkgname-nonfree-firmware:nonfree_firmware" source="deviceinfo extlinux.conf " build() { devicepkg_build $startdir $pkgname } package() { devicepkg_package $startdir $pkgname install -D -m644 "$srcdir"/extlinux.conf \ "$pkgdir"/boot/extlinux/extlinux.conf } nonfree_firmware() { pkgdesc="Wifi, Bluetooth and video-out firmware" depends="firmware-pine64-pinebookpro" mkdir "$subpkgdir" } sha512sums="9959812f0a0044f6c6a304e635051fc002bb46f0398cbea00e1ad10cbb2d5c6fa418f8979ef9ccbc403e43d59ada7a84c523de34b9273227a91593c8fc8901f9 deviceinfo bd974f4f2b27b868bd63d0134c3e4c062a786be781d2585f42326cfb135211cb038be8d769ec178b94cfe860290d2e502e5eb88ff077ea04b808980237cf624c extlinux.conf"