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-lineage-vendor-halium.
# Maintainer: bunnylo1 <bunnylo12@yahoo.com>
_lineage_ver="18.1"
_lineage_rel="20230401"
_pkgver_default_vendor=${_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-lineage-vendor-halium
provides=(waydroid-image-vendor)
conflicts=(waydroid-image-vendor)
pkgver=$_lineage_ver
pkgrel=8
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=()
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' )
sha256sums_i386=('SKIP' )
sha256sums_armhf=('SKIP' )
sha256sums_arm64=('SKIP' )