blob: c825655d4c012a84a4c988d542ef23ab1ea79e46 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
|
# Maintainer: Godeps <Godeps@protonmail.com>
# Based on nns's jdk17-graalvm-ee-bin AUR package
java_=11
pkgname="jdk${java_}-graalvm-ee-bin"
pkgver=22.3.2
pkgrel=1
pkgdesc="Universal virtual machine for running applications written in a variety of languages (JVM-based, LLVM-based, or other), Java ${java_} version"
arch=('x86_64'
'aarch64')
url='https://www.graalvm.org/'
license=('custom:OTN')
depends=('java-runtime-common'
'java-environment-common')
makedepends=()
provides=("java-runtime=${java_}"
"java-environment=${java_}")
options=('staticlibs')
install="$pkgname.install"
source=('graalvm-ee-rebuild-libpolyglot.hook')
sha256sums=('7dc37bd3703ebebcd6efa39534e6bb6e3ec9c8ee0d97e46d6df5349739c7d2ca')
sha256sums_x86_64=('ae68313e87e6fba2295321066bab859a847b6a9a180f55f0d22f989e59c8abfc')
sha256sums_aarch64=('1490bbb7f0b10f47fcb93cc7c4970cab426c8d9c16265c064d2dc026e2ea19b3')
source_x86_64=("https://oca.opensource.oracle.com/gds/GRAALVM_EE_JAVA${java_}_${pkgver//./_}/graalvm-ee-java${java_}-linux-amd64-${pkgver}.tar.gz")
source_aarch64=("https://oca.opensource.oracle.com/gds/GRAALVM_EE_JAVA${java_}_${pkgver//./_}/graalvm-ee-java${java_}-linux-aarch64-${pkgver}.tar.gz")
package() {
cd "graalvm-ee-java${java_}-${pkgver}"
mkdir -p "$pkgdir/usr/lib/jvm/java-${java_}-graalvm-ee/"
cp -a -t "$pkgdir/usr/lib/jvm/java-${java_}-graalvm-ee/" *
install -DTm644 LICENSE.txt "$pkgdir/usr/share/licenses/$pkgname/LICENSE"
sed "s/JAVA/${java_}/g" < "../graalvm-ee-rebuild-libpolyglot.hook" > "graalvm-ee-jdk${java_}-rebuild-libpolyglot.hook"
install -DTm644 "graalvm-ee-jdk${java_}-rebuild-libpolyglot.hook" "$pkgdir/usr/share/libalpm/hooks/graalvm-ee-jdk${java_}-rebuild-libpolyglot.hook"
}
|