summarylogtreecommitdiffstats
diff options
context:
space:
mode:
authorM0Rf302015-06-17 15:58:21 +0200
committerM0Rf302015-06-17 15:58:21 +0200
commitbff14bc77e367734844f379341938ff740bc2bfa (patch)
treeaf01c3ec5f6842e910e536507449a047cd878b27
downloadaur-bff14bc77e367734844f379341938ff740bc2bfa.tar.gz
Initial import
-rw-r--r--.AURINFO21
-rw-r--r--.SRCINFO21
-rw-r--r--PKGBUILD30
-rwxr-xr-xmars-mips2
-rw-r--r--mars-mips.install9
-rw-r--r--mars.desktop9
-rw-r--r--mars.pngbin0 -> 4500 bytes
7 files changed, 92 insertions, 0 deletions
diff --git a/.AURINFO b/.AURINFO
new file mode 100644
index 00000000000..0bb7c6c9119
--- /dev/null
+++ b/.AURINFO
@@ -0,0 +1,21 @@
+pkgbase = mars-mips
+ pkgdesc = An IDE for programming in MIPS assembly language intended for educational-level use
+ pkgver = 4.5
+ pkgrel = 1
+ url = http://courses.missouristate.edu/KenVollmar/MARS/index.htm
+ install = mars-mips.install
+ arch = any
+ license = MIT
+ depends = java-runtime
+ noextract = Mars${_ver}.jar
+ source = http://courses.missouristate.edu/KenVollmar/MARS/MARS_4_5_Aug2014/Mars4_5.jar
+ source = mars-mips
+ source = mars.png
+ source = mars.desktop
+ md5sums = 4709fae736e6c9d4078ea4b21e0be1e9
+ md5sums = d7e664dcebde337e0b94a3aafb351fb8
+ md5sums = 6a74c887b0166d4adb5b06c64d6a444b
+ md5sums = 83281c7998223ff073bb31efd473275c
+
+pkgname = mars-mips
+
diff --git a/.SRCINFO b/.SRCINFO
new file mode 100644
index 00000000000..0bb7c6c9119
--- /dev/null
+++ b/.SRCINFO
@@ -0,0 +1,21 @@
+pkgbase = mars-mips
+ pkgdesc = An IDE for programming in MIPS assembly language intended for educational-level use
+ pkgver = 4.5
+ pkgrel = 1
+ url = http://courses.missouristate.edu/KenVollmar/MARS/index.htm
+ install = mars-mips.install
+ arch = any
+ license = MIT
+ depends = java-runtime
+ noextract = Mars${_ver}.jar
+ source = http://courses.missouristate.edu/KenVollmar/MARS/MARS_4_5_Aug2014/Mars4_5.jar
+ source = mars-mips
+ source = mars.png
+ source = mars.desktop
+ md5sums = 4709fae736e6c9d4078ea4b21e0be1e9
+ md5sums = d7e664dcebde337e0b94a3aafb351fb8
+ md5sums = 6a74c887b0166d4adb5b06c64d6a444b
+ md5sums = 83281c7998223ff073bb31efd473275c
+
+pkgname = mars-mips
+
diff --git a/PKGBUILD b/PKGBUILD
new file mode 100644
index 00000000000..c161bd7959c
--- /dev/null
+++ b/PKGBUILD
@@ -0,0 +1,30 @@
+# Maintainer: M0Rf30
+
+pkgname=mars-mips
+pkgver=4.5
+_ver=${pkgver%.*}_${pkgver#*.}
+pkgrel=1
+pkgdesc="An IDE for programming in MIPS assembly language intended for educational-level use"
+arch=('any')
+url="http://courses.missouristate.edu/KenVollmar/MARS/index.htm"
+license=('MIT')
+depends=('java-runtime')
+noextract=('Mars${_ver}.jar')
+install="${pkgname}.install"
+source=(http://courses.missouristate.edu/KenVollmar/MARS/MARS_${_ver}_Aug2014/Mars${_ver}.jar
+ mars-mips
+ mars.png
+ mars.desktop)
+
+package() {
+ mkdir -p $pkgdir/usr/share/java/$pkgname
+ cp $srcdir/*.jar $pkgdir/usr/share/java/$pkgname/Mars.jar
+ install -Dm755 $srcdir/mars-mips "$pkgdir"/usr/bin/mars-mips
+ install -Dm644 $srcdir/mars.png "$pkgdir"/usr/share/icons/hicolor/48x48/apps/mars.png
+ install -Dm644 $srcdir/mars.desktop "$pkgdir"/usr/share/applications/mars.desktop
+}
+
+md5sums=('4709fae736e6c9d4078ea4b21e0be1e9'
+ 'd7e664dcebde337e0b94a3aafb351fb8'
+ '6a74c887b0166d4adb5b06c64d6a444b'
+ '83281c7998223ff073bb31efd473275c')
diff --git a/mars-mips b/mars-mips
new file mode 100755
index 00000000000..ed6be683cbf
--- /dev/null
+++ b/mars-mips
@@ -0,0 +1,2 @@
+#!/bin/bash
+java -jar /usr/share/java/mars-mips/Mars.jar
diff --git a/mars-mips.install b/mars-mips.install
new file mode 100644
index 00000000000..188af641d32
--- /dev/null
+++ b/mars-mips.install
@@ -0,0 +1,9 @@
+post_install() {
+ [[ $(type -p gtk-update-icon-cache) ]] && usr/bin/gtk-update-icon-cache -qtf usr/share/icons/hicolor
+ [[ $(type -p update-desktop-database) ]] && usr/bin/update-desktop-database -q usr/share/applications
+}
+
+post_remove() {
+ [[ $(type -p gtk-update-icon-cache) ]] && usr/bin/gtk-update-icon-cache -qtf usr/share/icons/hicolor
+ [[ $(type -p update-desktop-database) ]] && usr/bin/update-desktop-database -q usr/share/applications
+}
diff --git a/mars.desktop b/mars.desktop
new file mode 100644
index 00000000000..a0cea8e625b
--- /dev/null
+++ b/mars.desktop
@@ -0,0 +1,9 @@
+[Desktop Entry]
+Name=Mars
+Comment=An IDE for programming in MIPS assembly language
+Icon=mars
+Exec=mars-mips
+Terminal=false
+Type=Application
+Categories=Development;IDE;
+StartupNotify=true
diff --git a/mars.png b/mars.png
new file mode 100644
index 00000000000..da6bcb75fa7
--- /dev/null
+++ b/mars.png
Binary files differ