diff options
author | dreamscached | 2023-10-26 12:49:01 +0200 |
---|---|---|
committer | dreamscached | 2023-10-26 12:49:01 +0200 |
commit | f8ce5e33c13a84a24abeff4690125189f20a59a6 (patch) | |
tree | bd3b3207efbd719f53c4156b794c394635280c87 | |
parent | 7a8ead3cbdc6610a1682fbd707f68be7a26890a6 (diff) | |
download | aur-f8ce5e33c13a84a24abeff4690125189f20a59a6.tar.gz |
Update dependencies
-rw-r--r-- | .SRCINFO | 8 | ||||
-rw-r--r-- | PKGBUILD | 10 |
2 files changed, 8 insertions, 10 deletions
@@ -1,15 +1,13 @@ pkgbase = recaf-git pkgdesc = A modern Java bytecode editor - pkgver = r2276.3877b1a8 - pkgrel = 2 + pkgver = r2278.e9765d4e + pkgrel = 1 url = https://github.com/Col-E/Recaf arch = any license = MIT makedepends = git - makedepends = java-environment makedepends = jdk11-openjdk - depends = java-runtime - depends = java-openjfx + depends = java-environment-openjdk=21 depends = ttf-font provides = recaf conflicts = recaf @@ -1,14 +1,14 @@ # Maintainer: dreamscache.d <dreamscache.d@gmail.com> _pkgname=recaf pkgname=${_pkgname}-git -pkgver=r2276.3877b1a8 -pkgrel=2 +pkgver=r2278.e9765d4e +pkgrel=1 pkgdesc="A modern Java bytecode editor" arch=("any") url="https://github.com/Col-E/Recaf" license=("MIT") -depends=("java-runtime" "java-openjfx" "ttf-font") -makedepends=("git" "java-environment" "jdk11-openjdk") +depends=("java-environment-openjdk=21" "ttf-font") +makedepends=("git" "jdk11-openjdk") provides=("$_pkgname") conflicts=("$_pkgname" "$_pkgname-bin") replaces=("recaf") @@ -39,7 +39,7 @@ package() { install -Dm644 "LICENSE" "$pkgdir/usr/share/licenses/$_pkgname/LICENSE" install -Dm755 "target/$_pkgname-$(git describe --tags --abbrev=0)-J8-jar-with-dependencies.jar" "$pkgdir/usr/share/java/$_pkgname/$_pkgname.jar" install -Dm644 "src/main/resources/icons/logo.png" "$pkgdir/usr/share/pixmaps/recaf.png" - printf '#!/usr/bin/env bash\nexec java -cp "/usr/lib/jvm/default-runtime/lib/*:/usr/share/java/%s/%s.jar" "me.coley.recaf.Recaf" "$@"' "$_pkgname" "$_pkgname" > "recaf" + printf '#!/usr/bin/env bash\nexec java -cp "/usr/lib/jvm/java-21-openjdk/lib/*:/usr/share/java/%s/%s.jar" "me.coley.recaf.Recaf" "$@"' "$_pkgname" "$_pkgname" > "recaf" printf "[Desktop Entry]\nType=Application\nVersion=1.0\nName=Recaf\nComment=%s\nPath=/usr/bin\nExec=sh -c 'if [ -n \"\$0\" ]; then recaf --input=\"\$0\"; else recaf; fi' %%u\nIcon=recaf\nTerminal=false\nMimeType=application/java-archive\nCategories=Development;Java" "$pkgdesc" > "recaf.desktop" install -Dm755 "recaf" "$pkgdir/usr/bin/recaf" install -Dm644 "recaf.desktop" "$pkgdir/usr/share/applications/recaf.desktop" |