Skip to content

Commit

Permalink
feat(art_standalone-git)
Browse files Browse the repository at this point in the history
  • Loading branch information
xiota committed Dec 11, 2024
1 parent 93622f5 commit 8344c48
Show file tree
Hide file tree
Showing 7 changed files with 120 additions and 1 deletion.
2 changes: 1 addition & 1 deletion .ci/aur-state
Original file line number Diff line number Diff line change
@@ -1 +1 @@
1733916643
1733923853
1 change: 1 addition & 0 deletions art_standalone-git/.CI/PKGBUILD.append
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
depends=(${depends//bionic_translation*/bionic_translation-git})
1 change: 1 addition & 0 deletions art_standalone-git/.CI/config
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
CI_PKGBUILD_SOURCE=aur
2 changes: 2 additions & 0 deletions art_standalone-git/.CI/info
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
REQ_ORIGIN=github/3398
REQ_REASON=depends # android_translation_layer-git
50 changes: 50 additions & 0 deletions art_standalone-git/.SRCINFO
Original file line number Diff line number Diff line change
@@ -0,0 +1,50 @@
pkgbase = art_standalone-git
pkgdesc = A standalone version of Dalvik with Art built in
pkgver = r167.57f9bbd9
pkgrel = 3
url = https://gitlab.com/android_translation_layer/art_standalone
arch = x86_64
arch = aarch64
arch = armv7h
license = Apache-2.0
makedepends = bsd-compat-headers
makedepends = git
makedepends = jdk8-openjdk
makedepends = libcap
makedepends = meson
makedepends = python
makedepends = valgrind
makedepends = zip
depends = bash
depends = bionic_translation
depends = expat
depends = gcc-libs
depends = glibc
depends = icu
depends = libbsd
depends = libunwind
depends = lz4
depends = openssl
depends = wolfssl-jni
depends = xz
depends = zlib
provides = art_standalone
conflicts = art_standalone
source = git+https://gitlab.com/android_translation_layer/art_standalone.git/
sha256sums = SKIP

pkgname = art_standalone-git
depends = bash
depends = bionic_translation
depends = expat
depends = gcc-libs
depends = glibc
depends = icu
depends = libbsd
depends = libunwind
depends = lz4
depends = openssl
depends = wolfssl-jni
depends = xz
depends = zlib
depends = java-runtime
2 changes: 2 additions & 0 deletions art_standalone-git/.nvchecker.toml
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
[art_standalone-git]
source = "manual"
63 changes: 63 additions & 0 deletions art_standalone-git/PKGBUILD
Original file line number Diff line number Diff line change
@@ -0,0 +1,63 @@
# Maintainer: txtsd <[email protected]>

pkgname=art_standalone-git
_pkgname="${pkgname%-git}"
pkgver=r167.57f9bbd9
pkgrel=3
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
git
jdk8-openjdk
libcap
meson
python
valgrind
zip
)
provides=("${_pkgname}")
conflicts=("${_pkgname}")
source=("git+${url}.git/")
sha256sums=('SKIP')

pkgver() {
cd "${_pkgname}"

printf "r%s.%s" "$(git rev-list --count HEAD)" "$(git rev-parse --short HEAD)"
}

build() {
cd "${_pkgname}"

make PREFIX=/usr ____LIBDIR=lib
}

package() {
depends+=(java-runtime)

cd "${_pkgname}"

DESTDIR="${pkgdir}" make \
____PREFIX="${pkgdir}/usr" \
____INSTALL_ETC="${pkgdir}/etc" \
____LIBDIR=lib \
install
}

0 comments on commit 8344c48

Please sign in to comment.