Package Details: rars-git r340.f0c874c-2

Git Clone URL: https://aur.archlinux.org/rars-git.git (read-only, click to copy)
Package Base: rars-git
Description: RISC-V Assembler and Runtime Simulator
Upstream URL: https://github.com/TheThirdOne/rars
Licenses: MIT
Conflicts: rars
Provides: rars
Submitter: EvyGarden
Maintainer: EvyGarden
Last Packager: EvyGarden
Votes: 4
Popularity: 0.000055
First Submitted: 2021-12-06 18:30 (UTC)
Last Updated: 2021-12-07 19:44 (UTC)

Dependencies (3)

Required by (0)

Sources (3)

Latest Comments

EvyGarden commented on 2021-12-07 19:41 (UTC)

Thanks yjun, changes should be applied now.

Changelog entry:

2021-12-07 20:32
  • Fixed a (rather stupid) typo in /rars.sh
  • Added Icon
  • Fixed makedepends and depends for java>=8
  • Thank you yjun <3

yjun commented on 2021-12-07 08:51 (UTC) (edited on 2021-12-07 09:03 (UTC) by yjun)

dependency fix and set a RISC-V icon for the desktop entry

diff --git a/PKGBUILD b/PKGBUILD
index 77cea9a..b28fc18 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -7,9 +7,9 @@ pkgdesc="RISC-V Assembler and Runtime Simulator"
 url="https://github.com/TheThirdOne/${pkgname%-git}"
 arch=('x86_64')
 license=('MIT')
-
-depends=('java-environment')
-makedepends=('git')
+depends=('java-runtime>=8')
+makedepends=('git'
+             'java-environment>=8')
 provides=('rars')
 conflicts=('rars')

@@ -42,4 +42,6 @@ package() {
     cd ${srcdir}/${pkgname%-git}
     install -Dm644 "./${pkgname%-git}.jar" "${pkgdir}/usr/share/java/${pkgname%-git}/${pkgname%-git}.jar"
     install -Dm644 "./License.txt" "${pkgdir}/usr/share/licenses/${pkgname%-git}/LICENSE"
+
+    install -Dm644 "./src/images/RISC-V.png" "${pkgdir}/usr/share/pixmaps/${pkgname%-git}.png"
 }
diff --git a/rars.desktop b/rars.desktop
index b147847..5b6d4ef 100644
--- a/rars.desktop
+++ b/rars.desktop
@@ -3,6 +3,7 @@ Name=Rars
 GenericName=Rars
 Comment=RISC-V Assembler and Runtime
 Exec=rars
+Icon=rars
 Terminal=false
 Type=Application

follow https://github.com/TheThirdOne/rars#download

RARS is distributed as an executable jar. You will need at least Java 8 to run it.

yjun commented on 2021-12-07 08:41 (UTC)

typo in rars.sh

!/bin/sh

----> 

#!/bin/sh