summarylogtreecommitdiffstats
diff options
context:
space:
mode:
authorChris Severance2015-09-07 06:00:19 -0400
committerChris Severance2015-09-07 06:00:19 -0400
commit30c5ddfa08e424f0bdbb8ff9bc2a36a778925e0e (patch)
tree0793d0d37e800bf42fddac3bbe3f0e56f02821fe
downloadaur-planetmule.tar.gz
Initial Import
-rw-r--r--.SRCINFO17
-rw-r--r--PKGBUILD27
-rwxr-xr-xplanetmule4
-rw-r--r--planetmule.desktop10
4 files changed, 58 insertions, 0 deletions
diff --git a/.SRCINFO b/.SRCINFO
new file mode 100644
index 00000000000..5cef2743966
--- /dev/null
+++ b/.SRCINFO
@@ -0,0 +1,17 @@
+pkgbase = planetmule
+ pkgdesc = A free remake of, and tribute to, the 26 year old original role-playing game M.U.L.E.
+ pkgver = 1.3.6
+ pkgrel = 1
+ url = http://planetmule.com
+ arch = any
+ license = Freeware
+ depends = jre7-openjdk
+ source = http://mule-downloads.s3.amazonaws.com/mule_linux_1.3.6.tar.gz
+ source = planetmule
+ source = planetmule.desktop
+ sha256sums = 52cbdafd680b02465538df7a6e64c8f258ea27ac62fa8ee91a6706ce0d87d8fc
+ sha256sums = 4239af5a9993fd7831b01317ed8229ce9ead27bea12f7a037de1698228d15f23
+ sha256sums = 293d79ff10950f90a0ecbd6e37bdd0e0db4c66b0c4d42405e45e176d26407b52
+
+pkgname = planetmule
+
diff --git a/PKGBUILD b/PKGBUILD
new file mode 100644
index 00000000000..3f1833dbfaf
--- /dev/null
+++ b/PKGBUILD
@@ -0,0 +1,27 @@
+# Maintainer: Chris Severance aur.severach aATt spamgourmet dott com
+# Contributor: Brad Conte <brad AT bradconte.com>
+
+set -u
+pkgname='planetmule'
+pkgver='1.3.6'
+pkgrel='1'
+pkgdesc='A free remake of, and tribute to, the 26 year old original role-playing game M.U.L.E.'
+arch=('any')
+url='http://planetmule.com'
+license=('Freeware')
+#depends=('openjdk6')
+depends=('jre7-openjdk')
+source=("http://mule-downloads.s3.amazonaws.com/mule_linux_${pkgver}.tar.gz" 'planetmule' 'planetmule.desktop')
+sha256sums=('52cbdafd680b02465538df7a6e64c8f258ea27ac62fa8ee91a6706ce0d87d8fc'
+ '4239af5a9993fd7831b01317ed8229ce9ead27bea12f7a037de1698228d15f23'
+ '293d79ff10950f90a0ecbd6e37bdd0e0db4c66b0c4d42405e45e176d26407b52')
+
+package() {
+ set -u
+ install -d "${pkgdir}/opt"
+ mv "${srcdir}/mule/" "${pkgdir}/opt/mule/"
+ install -Dpm755 "${srcdir}/planetmule" -t "${pkgdir}/usr/bin/"
+ install -Dpm644 "${srcdir}/planetmule.desktop" -t "${pkgdir}/usr/share/applications/"
+ set +u
+}
+set +u
diff --git a/planetmule b/planetmule
new file mode 100755
index 00000000000..1c8c82b1706
--- /dev/null
+++ b/planetmule
@@ -0,0 +1,4 @@
+#!/bin/sh
+
+cd '/opt/mule/'
+./mule.sh > "/tmp/nohup-$$.out" 2>&1
diff --git a/planetmule.desktop b/planetmule.desktop
new file mode 100644
index 00000000000..9200582450e
--- /dev/null
+++ b/planetmule.desktop
@@ -0,0 +1,10 @@
+[Desktop Entry]
+Encoding=UTF-8
+Name=Planet M.U.L.E.
+Comment=A free remake and tribute of the original M.U.L.E.
+Exec=planetmule
+Terminal=false
+Type=Application
+StartupNotify=false
+Categories=GNOME;Game
+Icon=/opt/mule/data/icon.gif