summarylogtreecommitdiffstats
diff options
context:
space:
mode:
authorJonne Haß2015-06-08 11:58:49 +0200
committerJonne Haß2015-06-08 11:58:49 +0200
commit5da0dd60f16d8ebaac20aa58e0335987ac4b5522 (patch)
treea39eb9ebd8b08117233f224eea795178745a0170
downloadaur-5da0dd60f16d8ebaac20aa58e0335987ac4b5522.tar.gz
add hades
-rw-r--r--.SRCINFO22
-rw-r--r--LICENSE107
-rw-r--r--PKGBUILD42
-rwxr-xr-xhades4
-rw-r--r--hades.desktop9
5 files changed, 184 insertions, 0 deletions
diff --git a/.SRCINFO b/.SRCINFO
new file mode 100644
index 000000000000..d506a8dc06a9
--- /dev/null
+++ b/.SRCINFO
@@ -0,0 +1,22 @@
+pkgbase = hades
+ pkgdesc = Hamburg Design System, a framework for interactive simulation.
+ pkgver = 0.98f
+ pkgrel = 3
+ url = http://tams-www.informatik.uni-hamburg.de/applets/hades/
+ arch = any
+ license = custom
+ makedepends = unzip
+ makedepends = imagemagick
+ depends = java-runtime
+ noextract = hades.jar
+ source = http://tams-www.informatik.uni-hamburg.de/applets/hades/archive/hades.jar
+ source = hades
+ source = hades.desktop
+ source = LICENSE
+ md5sums = 4f104e2043409d44971eb653a27f9fee
+ md5sums = 1b047459e66bbf7034529ea692494651
+ md5sums = 8c3e9b529717672fa83c563e2150eabe
+ md5sums = 03060d8220e2b702d585cb82de751e1d
+
+pkgname = hades
+
diff --git a/LICENSE b/LICENSE
new file mode 100644
index 000000000000..e049fdb49255
--- /dev/null
+++ b/LICENSE
@@ -0,0 +1,107 @@
+Hades Applet and Hades Website License Agreement
+
+You must accept the following before running the Hades applet and using
+this website contents.
+
+Please read this agreement carefully. Your use of the Hades applet and
+the documentation on this website indicates your acceptance of this
+license agreement. If you are not willing to be bound by all the terms,
+please leave the Hades website and destroy all your copies of the Hades
+aplet and website content (including copies in your web-browser cache).
+
+Definitions
+
+"Software" means the binary code of the Hades simulation framework
+including other machine readable files (including, but not limited to,
+Java class files, source files, header files, data files, images), any
+updates or error corrections provided by Copyright Holders, and any
+user manuals, programming guides, and other documentation provided to
+you under this agreement. At the moment, the Hades applet software is
+packaged as a set of JAR-format archive files (e.g. "hades-applet.jar",
+"hades-models-rtlib.jar", etc.).
+
+"Site content" means the static content and functionality of the Hades
+wesite, including text, graphics, images, logos and icons, and the
+selection and arrangement thereof. At the moment, the Hades website is
+hosted at the following URL:
+http://tams-www.informatik.uni-hamburg.de/applets/hades/webdemos/
+
+"Copyright Holders" means Norman Hendrich, Dept. of Computer Science,
+University of Hamburg, and the respective authors of Hades packages as
+noted on the About Hades page.
+
+License to use
+
+Subject to the terms and conditions of this Agreement, Copyright holders
+hereby grant you a non-exclusive, non-transferable limited license to
+access, display, and print one copy of the content and functionality
+displayed on the Site (the "Site Content") on any single computer solely
+for personal educational use, provided that you do not modify the Site
+Content in any way and that you retain all copyright and other
+proprietary notices displayed on the Site Content.
+
+You may not otherwise reproduce, modify, distribute, transmit, post, or
+disclose Software and Site Content without the Copyright Holder's prior
+written consent.
+
+This license expressly prohibits the use of Software and Site Content in
+connection with any commercial enterprise, including but not limited to
+the publication and re-distribution on web-sites other than the Hades
+homepage (for the current location, see above). To obtain a license for
+educational and commercial use, please contact the Copyright Holders.
+
+Restrictions
+
+Software and Site Content is confidential and copyrighted. Title to
+Software and Site Content and all associated intellectual property
+rights is retained by Copyright holders. Unless enforcement is
+prohibited by applicable law, you may not modify, decompile, or reverse
+engineer Software. No right, title or interest in or to any trademark,
+service mark, logo or trade name of the University of Hamburg or its
+licensors is granted under this Agreement.
+
+Disclaimers
+
+SOFTWARE AND SITE CONTENT IS PROVIDED "AS IS," AND COPYRIGHT HOLDERS
+MAKE NO REPRESENTATIONS OR WARRANTIES, EXPRESS OR IMPLIED, INCLUDING BUT
+NOT LIMITED TO, WARRANTIES OF MERCHANTABILITY OR FITNESS FOR ANY
+PARTICULAR PURPOSE OR THAT THE USE OF THE SOFTWARE OR SITE CONTENT WILL
+NOT INFRINGE ANY THIRD PARTY PATENTS, COPYRIGHTS, TRADEMARKS OR OTHER
+RIGHTS.
+
+COPYRIGHT HOLDERS WILL NOT BE LIABLE FOR ANY DIRECT, INDIRECT, SPECIAL
+OR CONSEQUENTIAL DAMAGES ARISING OUT OF ANY USE OF THE SOFTWARE OR SITE
+CONTENT.
+
+In no event will Copyright Holders liability to you, whether in
+contract, tort (including negligence), or otherwise, exceed the amount
+paid by you for Site Content and Software under this Agreement.
+
+Third-Party Web Sites
+
+The Site Content may include hyperlinks to external third-party websites
+to enrich the content and provide easy access to additional
+documentation. The Copyright Holders and the University of Hamburg (as
+the current Hades website hoster) have no responsibility for these
+third-party Web sites, which are goverened by the Terms of Use and
+privacy policies, if any, of the applicable third-party content
+provides.
+
+Termination
+
+This Agreement is effective until terminated. You may terminate this
+Agreement at any time by destroying all copies of Software and Site
+Content. This Agreement will terminate immediately without notice from
+Copyright Holders if you fail to comply with any provision of this
+Agreement. Upon Termination, you must destroy all copies of Software
+and Site Content.
+
+Educational and Commercial Use
+
+Please contact us for the licensing terms concerning commercial use or
+(institutional and non-personal) academic use of the Hades framework and
+Hades applets.
+
+All Hades software and Hades website documentation
+© 1997-2005 by Norman Hendrich, Dept. Computer Science, Univ. of Hamburg
+(except where noted). All rights reserved.
diff --git a/PKGBUILD b/PKGBUILD
new file mode 100644
index 000000000000..ccab38ff929e
--- /dev/null
+++ b/PKGBUILD
@@ -0,0 +1,42 @@
+# Maintainer: Jonne Hass <me@mrzyx.de>
+pkgname=hades
+pkgver=0.98f
+pkgrel=3
+pkgdesc="Hamburg Design System, a framework for interactive simulation."
+arch=('any')
+url="http://tams-www.informatik.uni-hamburg.de/applets/hades/"
+license=('custom')
+depends=('java-runtime')
+makedepends=('unzip' 'imagemagick')
+source=("http://tams-www.informatik.uni-hamburg.de/applets/hades/archive/$pkgname.jar"
+ 'hades'
+ 'hades.desktop'
+ 'LICENSE')
+noextract=("$pkgname.jar")
+md5sums=('4f104e2043409d44971eb653a27f9fee'
+ '1b047459e66bbf7034529ea692494651'
+ '8c3e9b529717672fa83c563e2150eabe'
+ '03060d8220e2b702d585cb82de751e1d')
+
+build() {
+ cd "$srcdir"
+ unzip -u "$pkgname.jar" "hades/gui/images/hades.gif" -d ./pixmaps
+ convert "pixmaps/hades/gui/images/hades.gif" "pixmaps/$pkgname.png"
+}
+
+package() {
+ cd "$srcdir"
+
+ install -Dm644 "$pkgname.jar" \
+ "$pkgdir/usr/share/java/$pkgname/$pkgname.jar"
+ install -Dm755 "hades" \
+ "$pkgdir/usr/bin/hades"
+ install -Dm644 "pixmaps/$pkgname.png" \
+ "$pkgdir/usr/share/pixmaps/$pkgname.png"
+ install -Dm644 "hades.desktop" \
+ "$pkgdir/usr/share/applications/hades.desktop"
+ install -Dm644 "LICENSE" \
+ "$pkgdir/usr/share/licenses/$pkgname/LICENSE"
+}
+
+# vim:set ts=2 sw=2 et:
diff --git a/hades b/hades
new file mode 100755
index 000000000000..72eba95c92a6
--- /dev/null
+++ b/hades
@@ -0,0 +1,4 @@
+#!/bin/sh
+mkdir -p "$HOME/.hades"
+cd "$HOME/.hades"
+"$JAVA_HOME/bin/java" -jar "/usr/share/java/hades/hades.jar"
diff --git a/hades.desktop b/hades.desktop
new file mode 100644
index 000000000000..01338af734b2
--- /dev/null
+++ b/hades.desktop
@@ -0,0 +1,9 @@
+[Desktop Entry]
+Type=Application
+Version=1.0
+Name=Hades
+Comment=Hamburg Design System, a framework for interactive simulation.
+Exec=hades
+Icon=hades
+Terminal=false
+Categories=Education;Development;Electronics;Science;ComputerScience;