blob: ee4b1efd6b95072bce09aa07b0f82c93752b3817 (
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
|
# Maintainer: Lucas Werkmeister <mail@lucaswerkmeister.de>
pkgname_=graal
pkgname=${pkgname_}-bin
pkgver_=1.0.0-rc15
pkgver=${pkgver_/-/_}
pkgrel=1
pkgdesc='Universal virtual machine for running applications written in a variety of languages (JVM-based, LLVM-based, or other)'
arch=('x86_64')
url='https://www.graalvm.org/'
license=('custom')
depends=('java-runtime-common'
'java-environment-common')
makedepends=()
optdepends=()
provides=('java-runtime=8'
'java-environment=8'
"$pkgname_")
conflicts=("$pkgname_")
install="$pkgname.install"
source=("https://github.com/oracle/$pkgname_/releases/download/vm-${pkgver_}/graalvm-ce-${pkgver_}-linux-amd64.tar.gz")
sha256sums=('21baa22b1d9b9cd84e6fc8e98144a25ba5f5c13db6c61a8f184f38141231da22')
package() {
cd "${pkgname_}vm-ce-${pkgver_}"
mkdir -p "$pkgdir/usr/lib/jvm/java-8-graal/"
cp -a -t "$pkgdir/usr/lib/jvm/java-8-graal/" *
install -DTm644 LICENSE "$pkgdir/usr/share/licenses/$pkgname/LICENSE"
}
|