Package Details: mars-mips 4.5-2

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: MIT
Submitter: M0Rf30
Maintainer: M0Rf30
Last Packager: M0Rf30
Votes: 20
Popularity: 0.207394
First Submitted: 2010-02-13 10:49
Last Updated: 2016-09-19 12:43

Latest Comments

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

M0Rf30 commented on 2011-01-06 14:07

renamed mars script to avoid conflicts with mars-shooter-svn executable

Anonymous comment on 2010-10-02 15:15

Please, use install -m755 $startdir/mars $startdir/pkg/usr/bin instead 'cp', this ensures the necessary permissions to run Mars.

mutantmonkey commented on 2010-03-26 22:58

Please change the jre dependency to java-runtime,