For some reason the PKGBUILD tries to extract the .jar-file with bsdtar and fails. It seems to ignore the noextract line.
I fixed that by replacing the line
noextract=('Mars${_ver}.jar')
with
noextract=("Mars${_ver}.jar")
in the PKGBUILD.
Search Criteria
Package Details: mars-mips 4.5-3
| Git Clone URL: | https://aur.archlinux.org/mars-mips.git (read-only) |
|---|---|
| Package Base: | mars-mips |
| Description: | An IDE for programming in MIPS assembly language intended for educational-level use |
| Upstream URL: | http://courses.missouristate.edu/KenVollmar/MARS/index.htm |
| Licenses: | |
| Submitter: | M0Rf30 |
| Maintainer: | M0Rf30 |
| Last Packager: | M0Rf30 |
| Votes: | 21 |
| Popularity: | 0.028666 |
| First Submitted: | 2010-02-13 10:49 |
| Last Updated: | 2016-12-20 23:59 |
Dependencies (1)
- java-runtime (intellij-jdk, java-gcj-compat, jdk, jdk-arm, jdk-dcevm, jdk-devel, jdk5, jdk6, jdk7, jdk8, jdk8-j9-bin, jdk9-openj9-bin, jre, jre-devel, jre6, jre7, jre7-openjdk-infinality, jre8, jre8-openjdk-infinality, jre8-openjdk-jetbrains, jre8-openjdk-jetbrains-git, server-jre, tuxjdk, zulu-jdk, jre7-openjdk, jre8-openjdk, jre9-openjdk)
Required by (0)
Sources (4)
Latest Comments
davebloggt commented on 2016-12-19 11:17
banzr commented on 2016-09-19 17:47
Could someone please create a GTK version using java-swing-joxy-git? Perhaps repackage as mars-mips-gtk or perhaps build it into mars-mips as an option to load the GTK. I tried using java-swing-joxy-git while loading the jar and the gtk graphics (icons, etc.) wouldn't load until mouse over or some other redraw interaction.
ShadowMitia commented on 2016-09-19 11:04
It would be nice to be able to transmit commandline arguments to the MARS program.
Marcel_K commented on 2014-05-06 22:35
Just one last remark: you can use Bash's parameter expansion to create the 4_4 part in the URL/file name:
pkgver=4.4
_ver=${pkgver%.*}_${pkgver#*.}
Now ${_ver} will contain 4_4
Marcel_K commented on 2014-05-06 19:03
I retract the part about noextract: the license file is inside the .jar file, so you should extract it anyway to obtain it.
Marcel_K commented on 2014-05-06 18:49
A few other improvements should (or could) be made:
- as this package contains no ELF executables, 'arch' should be set to 'any';
- you could add a noextract value to prevent extracting of the .jar-file (which you don't need);
- according to the Java Package Guidelines [1], .jar-files should be installed in /usr/share/java/${pkgname}/ instead of in /opt;
- only the shell script should be installed as executable, the other files should be installed with permissions 644;
- you should add 'exec' (without the quotes) before and "$@" (including the double quotes) after the command line in the mars-mips shell script to feed the command line parameters to the Java program (also see the Java Package Guidelines);
- as there is an icon installed in /usr/share/icons/hicolor you should call gtk-update-icon-cache in an .install file and add gtk-update-icon-cache as a dependency (see GNOME Package Guidelines [2]);
- somehow, the MIT license is not a common license included in the licenses package; therefore you should include it within /usr/share/licenses/${pkgname}/
[1] https://wiki.archlinux.org/index.php/Java_Package_Guidelines
[2] https://wiki.archlinux.org/index.php/GNOME_Package_Guidelines#GTK_icon_cache
Marcel_K commented on 2014-02-14 16:33
Please quote all instances of $pkgdir en $srcdir to allow for spaces in directory names.
tomasabril commented on 2011-12-02 21:18
If possible, a launcher under applications>programming would be nice.
Anonymous comment on 2011-01-07 09:11
"Please change the jre dependency to java-runtime"
+1
mar04 commented on 2011-01-06 17:53
"Please change the jre dependency to java-runtime"
+1