Skip to content
This repository has been archived by the owner on May 20, 2023. It is now read-only.

Commit

Permalink
upgpkg: ammonite 2.5.6-1: build ammonite with java 8 (FS#67353)
Browse files Browse the repository at this point in the history
git-svn-id: file:///srv/repos/svn-community/svn@1389305 9fca08f4-af9d-4005-b8df-a31f2cc04f65
  • Loading branch information
felixonmars authored and svntogit committed Jan 28, 2023
1 parent c2b440b commit f7e19dd
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions trunk/PKGBUILD
Original file line number Diff line number Diff line change
Expand Up @@ -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')

Expand All @@ -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
Expand Down

0 comments on commit f7e19dd

Please sign in to comment.