makedeb
A container-based approach to boot a full Android system on a regular Linux system (Android image)
Viewing /PKGBUILD
.
Click here to go back to the Git tree for waydroid-image-lineage-gapps-halium.
# Maintainer: huakim <fijik19@gmail.com>
_lineage_ver="18.1"
_lineage_rel="20230401"
_pkgver_default=${_lineage_ver}"-"${_lineage_rel}
_pkgver_default_system=${_pkgver_default}
_pkgver_default_vendor=${_pkgver_default}
_pkgver_images_system=${_pkgver_default_system}
_pkgver_images_system_x86=${_pkgver_default_system}
_pkgver_images_system_arm=${_pkgver_default_system}
_pkgver_images_system_arm64=${_pkgver_default_system}
_pkgver_images_vendor=${_pkgver_default_vendor}
_pkgver_images_vendor_x86=${_pkgver_default_vendor}
_pkgver_images_vendor_arm=${_pkgver_default_vendor}
_pkgver_images_vendor_arm64=${_pkgver_default_vendor}
#_system_ver="VANILLA"
_system_ver="GAPPS"
#_vendor_ver="MAINLINE"
_vendor_ver="HALIUM_11"
pkgname=waydroid-image-lineage-gapps-halium
provides=(waydroid-image)
conflicts=(waydroid-image)
pkgver=$_lineage_ver
pkgrel=4
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-$_system_ver-waydroid_x86-system.zip
https://sourceforge.net/projects/waydroid/files/images/vendor/waydroid_x86/lineage-$_pkgver_images_vendor_x86-$_vendor_ver-waydroid_x86-vendor.zip)
source_amd64=(https://sourceforge.net/projects/waydroid/files/images/system/lineage/waydroid_x86_64/lineage-$_pkgver_images_system-$_system_ver-waydroid_x86_64-system.zip
https://sourceforge.net/projects/waydroid/files/images/vendor/waydroid_x86_64/lineage-$_pkgver_images_vendor-$_vendor_ver-waydroid_x86_64-vendor.zip)
source_armhf=(https://sourceforge.net/projects/waydroid/files/images/system/lineage/waydroid_arm/lineage-$_pkgver_images_system_arm-$_system_ver-waydroid_arm-system.zip
https://sourceforge.net/projects/waydroid/files/images/vendor/waydroid_arm/lineage-$_pkgver_images_vendor_arm-$_vendor_ver-waydroid_arm-vendor.zip)
source_arm64=(https://sourceforge.net/projects/waydroid/files/images/system/lineage/waydroid_arm64/lineage-$_pkgver_images_system_arm64-$_system_ver-waydroid_arm64-system.zip
https://sourceforge.net/projects/waydroid/files/images/vendor/waydroid_arm64/lineage-$_pkgver_images_vendor_arm64-$_vendor_ver-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')