# Maintainer: txtsd <aur.archlinux@ihavea.quest> pkgname=art_standalone pkgver=r181.c4fba44a pkgrel=1 _commit=c4fba44a45e319b57801d81ef946ee953ff70b58 pkgdesc='A standalone version of Dalvik with Art built in' url='https://gitlab.com/android_translation_layer/art_standalone' arch=(x86_64 aarch64 armv7h) license=('Apache-2.0') depends=( bash bionic_translation expat gcc-libs glibc icu libbsd libunwind lz4 openssl wolfssl-jni xz zlib ) makedepends=( bsd-compat-headers jdk8-openjdk libcap meson python valgrind zip ) source=("${pkgname}-${_commit}.tar.gz::${url}/-/archive/${_commit}/${pkgname}-${_commit}.tar.gz") sha256sums=('ba47e40fc72c66b1a709a8557a79cedb6ee531e77618fbfe385833ebb19930af') build() { cd "${pkgname}-${_commit}" make PREFIX=/usr ____LIBDIR=lib } package() { depends+=(java-runtime) cd "${pkgname}-${_commit}" DESTDIR="${pkgdir}" make \ ____PREFIX="${pkgdir}/usr" \ ____INSTALL_ETC="${pkgdir}/etc" \ ____LIBDIR=lib \ install }