From f7e19dd6a4542340eccd6aa2a74fe7e75d3cc635 Mon Sep 17 00:00:00 2001 From: felixonmars Date: Sat, 28 Jan 2023 10:14:38 +0000 Subject: [PATCH] upgpkg: ammonite 2.5.6-1: build ammonite with java 8 (FS#67353) git-svn-id: file:///srv/repos/svn-community/svn@1389305 9fca08f4-af9d-4005-b8df-a31f2cc04f65 --- trunk/PKGBUILD | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/trunk/PKGBUILD b/trunk/PKGBUILD index eefc8c64864f..1036aa3aaf63 100644 --- a/trunk/PKGBUILD +++ b/trunk/PKGBUILD @@ -11,8 +11,8 @@ pkgdesc="A cleanroom re-implementation of the Scala REPL from first principles. arch=('any') url="https://github.com/lihaoyi/Ammonite" license=('MIT') -depends=('bash' 'java-environment') -makedepends=('mill') +depends=('bash') +makedepends=('mill' 'java-environment=8') source=("https://github.com/lihaoyi/Ammonite/archive/$pkgver/$pkgname-$pkgver.tar.gz") b2sums=('28eb868dfd1346007f0cf11b35f78827c315ee8d89be8986dc6992b9195f5880bff70ca075d8c0cf9047ab01eb9c0fd2911c1ce59e170c6d016baea6a05cdaa8') @@ -27,6 +27,7 @@ build() { } package() { + depends+=('java-environment') cd Ammonite-$pkgver install -dm755 "$pkgdir"/usr/bin (echo "#!/bin/sh"; cat out/amm/$_scalaversion/assembly.dest/out.jar) > "$pkgdir"/usr/bin/amm