summarylogtreecommitdiffstats
diff options
context:
space:
mode:
authorLubosz Sarnecki2015-06-22 22:57:21 +0200
committerLubosz Sarnecki2015-06-22 22:57:21 +0200
commitcd2476725167f0b1db6683ea87cc2ef40fdf06be (patch)
tree0e3ea750d623a78c1481156e527fa49bb4d33c93
downloadaur-jmars.tar.gz
Initial import
-rw-r--r--.SRCINFO18
-rw-r--r--PKGBUILD21
-rw-r--r--jmars.desktop7
-rw-r--r--jmars.install8
4 files changed, 54 insertions, 0 deletions
diff --git a/.SRCINFO b/.SRCINFO
new file mode 100644
index 00000000000..302ee6bcd82
--- /dev/null
+++ b/.SRCINFO
@@ -0,0 +1,18 @@
+pkgbase = jmars
+ pkgdesc = 'Java Mission-planning and Analysis for Remote Sensing' is a geospatial information system for Mars
+ pkgver = 3.0.4
+ pkgrel = 1
+ url = http://jmars.asu.edu/
+ install = jmars.install
+ arch = i686
+ arch = x86_64
+ license = GPL
+ depends = java-runtime
+ depends = desktop-file-utils
+ source = http://jmars.asu.edu/downloads/version3/jmars/JMARS_linux_64.sh
+ source = jmars.desktop
+ sha256sums = 9417fa8f43e102de7f88fb32b88397a98ea216e0527a58094f1d5931b04de4ac
+ sha256sums = SKIP
+
+pkgname = jmars
+
diff --git a/PKGBUILD b/PKGBUILD
new file mode 100644
index 00000000000..b6d887b1725
--- /dev/null
+++ b/PKGBUILD
@@ -0,0 +1,21 @@
+# Maintainer: Lubosz Sarnecki <lubosz@gmail.com>
+
+pkgname=jmars
+pkgver=3.0.4
+pkgrel=1
+pkgdesc="'Java Mission-planning and Analysis for Remote Sensing' is a geospatial information system for Mars"
+arch=('i686' 'x86_64')
+url="http://jmars.asu.edu/"
+license=('GPL')
+depends=('java-runtime' 'desktop-file-utils')
+source=("http://jmars.asu.edu/downloads/version3/jmars/JMARS_linux_64.sh" "jmars.desktop")
+install=jmars.install
+sha256sums=('9417fa8f43e102de7f88fb32b88397a98ea216e0527a58094f1d5931b04de4ac' 'SKIP')
+
+package() {
+ chmod +x JMARS_linux_64.sh
+ ./JMARS_linux_64.sh -q -dir "$pkgdir/usr/share/jmars/"
+ chmod +x "$pkgdir/usr/share/jmars/jmars"
+ mkdir -p "$pkgdir/usr/share/applications/"
+ install -Dm644 jmars.desktop "$pkgdir/usr/share/applications/"
+}
diff --git a/jmars.desktop b/jmars.desktop
new file mode 100644
index 00000000000..afb71cf8094
--- /dev/null
+++ b/jmars.desktop
@@ -0,0 +1,7 @@
+#!/usr/bin/env xdg-open
+[Desktop Entry]
+Type=Application
+Name=JMARS
+Exec=/usr/share/jmars/jmars
+Icon=/usr/share/jmars/.install4j/jmars.png
+Categories=Application;
diff --git a/jmars.install b/jmars.install
new file mode 100644
index 00000000000..7375d652e1b
--- /dev/null
+++ b/jmars.install
@@ -0,0 +1,8 @@
+post_install() {
+ update-desktop-database -q
+}
+
+post_remove() {
+ update-desktop-database -q
+}
+