diff options
author | Julian Storozhenko | 2021-12-07 20:39:25 +0100 |
---|---|---|
committer | Julian Storozhenko | 2021-12-07 20:39:25 +0100 |
commit | 9e44816230802706fde6a9a702ed9c27b72bb46b (patch) | |
tree | 227c6522bfeea43e9e8abd7a106d3e1c594187c6 | |
parent | 7064de0dbf35e67424a4c3a8a3555189ab558c0b (diff) | |
download | aur-9e44816230802706fde6a9a702ed9c27b72bb46b.tar.gz |
fixed script and pkgbuild and added an icon
-rw-r--r-- | .Changelog | 5 | ||||
-rw-r--r-- | .SRCINFO | 3 | ||||
-rw-r--r-- | PKGBUILD | 11 | ||||
-rw-r--r-- | rars.desktop | 1 | ||||
-rw-r--r-- | rars.sh | 2 |
5 files changed, 15 insertions, 7 deletions
diff --git a/.Changelog b/.Changelog new file mode 100644 index 000000000000..9cc29fb1041b --- /dev/null +++ b/.Changelog @@ -0,0 +1,5 @@ +## 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
\ No newline at end of file @@ -6,7 +6,8 @@ pkgbase = rars-git arch = x86_64 license = MIT makedepends = git - depends = java-environment + makedepends = java-environment>=8 + depends = java-runtime>=8 provides = rars conflicts = rars source = git+https://github.com/TheThirdOne/rars.git @@ -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') @@ -17,8 +17,8 @@ source=("git+https://github.com/TheThirdOne/${pkgname%-git}.git" "${pkgname%-git}.desktop" "${pkgname%-git}.sh") sha256sums=('SKIP' - 'cccd77ebd03d0e9080c3840ddad6f0cdc677ca9129ad9db844d9eaaa90716919' - '6478c02af2ec257d681b9cfb222a05da79ba1680db2fe3d09894308d113c0107') + '94f7e604bc4447bfc8b0b32d9ca529163ca011623ebf2294fb3ccf4791272d4e' + 'ab5b088335e5f189eaffa3399e764d85ad5069bb266a68a5640d2732504c5b56') prepare() { cd ${srcdir}/${pkgname%-git} @@ -42,4 +42,5 @@ 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 b147847ad516..d140c8d40978 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 Categories=Utility;X-Emulation;
\ No newline at end of file @@ -1,4 +1,4 @@ -!/bin/sh +#!/bin/sh exec /usr/bin/java \ -Dawt.useSystemAAFontSettings=on \ -Dswing.defaultlaf=com.sun.java.swing.plaf.gtk.GTKLookAndFeel \ |