# Maintainer: huakim _pkgver_images_system="18.1-20221107" _pkgver_images_system_x86="18.1-20221107" _pkgver_images_system_arm="18.1-20221107" _pkgver_images_system_arm64="18.1-20221107" _pkgver_images_vendor="18.1-20221107" _pkgver_images_vendor_x86="18.1-20221107" _pkgver_images_vendor_arm="18.1-20221107" _pkgver_images_vendor_arm64="18.1-20221107" pkgname=waydroid-image pkgver=18.1 pkgrel=2 pkgdesc="A container-based approach to boot a full Android system on a regular Linux system (Android image)" arch=('amd64' 'i386' 'armhf' 'arm64') license=('Apache') url='https://github.com/waydroid' depends=('waydroid') source_i386=(https://sourceforge.net/projects/waydroid/files/images/system/lineage/waydroid_x86/lineage-$_pkgver_images_system_x86-VANILLA-waydroid_x86-system.zip https://sourceforge.net/projects/waydroid/files/images/vendor/waydroid_x86/lineage-$_pkgver_images_vendor_x86-MAINLINE-waydroid_x86-vendor.zip) source_amd64=(https://sourceforge.net/projects/waydroid/files/images/system/lineage/waydroid_x86_64/lineage-$_pkgver_images_system-VANILLA-waydroid_x86_64-system.zip https://sourceforge.net/projects/waydroid/files/images/vendor/waydroid_x86_64/lineage-$_pkgver_images_vendor-MAINLINE-waydroid_x86_64-vendor.zip) source_armhf=(https://sourceforge.net/projects/waydroid/files/images/system/lineage/waydroid_arm/lineage-$_pkgver_images_system_arm-VANILLA-waydroid_arm-system.zip https://sourceforge.net/projects/waydroid/files/images/vendor/waydroid_arm/lineage-$_pkgver_images_vendor_arm-MAINLINE-waydroid_arm-vendor.zip) source_arm64=(https://sourceforge.net/projects/waydroid/files/images/system/lineage/waydroid_arm64/lineage-$_pkgver_images_system_arm64-VANILLA-waydroid_arm64-system.zip https://sourceforge.net/projects/waydroid/files/images/vendor/waydroid_arm64/lineage-$_pkgver_images_vendor_arm64-MAINLINE-waydroid_arm64-vendor.zip) #case "$CARCH" in # aarch64) _imgarch="arm64" ;; # armv7h) _imgarch="arm" ;; # *) _imgarch="$CARCH" ;; #esac package() { install -dm755 "$pkgdir/usr/share/waydroid-extra/images" # makepkg have extracted the zips mv "$srcdir/system.img" "$pkgdir/usr/share/waydroid-extra/images" mv "$srcdir/vendor.img" "$pkgdir/usr/share/waydroid-extra/images" } sha256sums_amd64=('SKIP' 'SKIP') sha256sums_i386=('SKIP' 'SKIP') sha256sums_armhf=('SKIP' 'SKIP') sha256sums_arm64=('SKIP' 'SKIP')