summarylogtreecommitdiffstats
diff options
context:
space:
mode:
authorJan Hicken2016-07-18 11:30:47 +0200
committerJan Hicken2016-07-18 11:34:56 +0200
commitc8559c73982f55f293825ad7f8d0d7f4add5c2ba (patch)
tree32189fa79c8260c3d2600e4bb7b9165f8e5320f2
parent9ccbf418d127b47d096be4d9dfefcf8ef185a8cf (diff)
downloadaur-c8559c73982f55f293825ad7f8d0d7f4add5c2ba.tar.gz
Add renewexport script.
-rw-r--r--.SRCINFO7
-rw-r--r--PKGBUILD5
-rw-r--r--renewexport.sh10
3 files changed, 18 insertions, 4 deletions
diff --git a/.SRCINFO b/.SRCINFO
index b9f4b3cfe88..db0271b54c0 100644
--- a/.SRCINFO
+++ b/.SRCINFO
@@ -1,9 +1,9 @@
# Generated by mksrcinfo v8
-# Mon Jul 4 19:25:41 UTC 2016
+# Mon Jul 18 09:34:56 UTC 2016
pkgbase = renew
pkgdesc = The Reference Net Workshop
pkgver = 2.5
- pkgrel = 1
+ pkgrel = 2
url = http://renew.de/
arch = any
groups = renew
@@ -20,6 +20,7 @@ pkgbase = renew
noextract = xrn-2.5_0.1.jar
source = http://www.informatik.uni-hamburg.de/TGI/renew/2.5/renew2.5base.zip
source = renew.sh
+ source = renewexport.sh
source = compilestub.sh
source = makestub.sh
source = loadrenew.sh
@@ -35,8 +36,8 @@ pkgbase = renew
source = http://www.informatik.uni-hamburg.de/TGI/renew/2.5/plugins2.5/tablet-2.5_0.3.jar
source = http://www.informatik.uni-hamburg.de/TGI/renew/2.5/plugins2.5/xrn-2.5_0.1.jar
sha256sums = facc2726120c52fecb84540b1d53d20513a4fe2d0d57c547c624072a79d9797b
- sha256sums = a4ec6bfc6eb1770a9eacf0791f7c737d3559efbb98a4caecee030af924108d59
sha256sums = dbe0b1ee17634d98d0b8b8ef7f862d6b56421ae6d92867800e4a00cf0ff3d17d
+ sha256sums = 901de7a27ed88e724571ff2acff1879b9ec29cfa82fd3a87f816991b16426075
sha256sums = e33ece1a400120aa4a11915f881b413adc6aa958be889e2fb7a55aaf44ab4b60
sha256sums = 9ad46fc4ecf80d7ceea5afc4f95c91d0995f605315075d4735e6f0980509082d
sha256sums = f2da435e28be3424e13147681854173f193e9e1a34f7e5217ecbae503012e073
diff --git a/PKGBUILD b/PKGBUILD
index 821daf66146..1689d6c25c1 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -12,7 +12,7 @@ pkgname=("${pkgbase}-base"
"${pkgbase}-tablet"
"${pkgbase}-xrn")
pkgver=2.5
-pkgrel=1
+pkgrel=2
declare -Ag _pkgvers
_pkgvers[${pkgbase}-base]=$pkgver
_pkgvers[${pkgbase}-fa-base]=0.7
@@ -34,6 +34,7 @@ depends=('java-environment>=7' 'bash')
_baseurl="http://www.informatik.uni-hamburg.de/TGI/${pkgbase}/${pkgver}"
source=("$_baseurl/${pkgbase}${pkgver}base.zip"
'renew.sh'
+ 'renewexport.sh'
'compilestub.sh'
'makestub.sh'
'loadrenew.sh'
@@ -56,6 +57,7 @@ for subpkg in ${pkgname[*]}; do
done
sha256sums=('facc2726120c52fecb84540b1d53d20513a4fe2d0d57c547c624072a79d9797b'
'dbe0b1ee17634d98d0b8b8ef7f862d6b56421ae6d92867800e4a00cf0ff3d17d'
+ '901de7a27ed88e724571ff2acff1879b9ec29cfa82fd3a87f816991b16426075'
'e33ece1a400120aa4a11915f881b413adc6aa958be889e2fb7a55aaf44ab4b60'
'9ad46fc4ecf80d7ceea5afc4f95c91d0995f605315075d4735e6f0980509082d'
'f2da435e28be3424e13147681854173f193e9e1a34f7e5217ecbae503012e073'
@@ -77,6 +79,7 @@ package_renew-base() {
install -D loadrenew.sh "${pkgdir}/usr/bin/loadrenew"
install -D makestub.sh "${pkgdir}/usr/bin/makestub"
install -D renew.sh "${pkgdir}/usr/bin/renew"
+ install -D renewexport.sh "${pkgdir}/usr/bin/renewexport"
cd ${pkgbase}${pkgver}
diff --git a/renewexport.sh b/renewexport.sh
new file mode 100644
index 00000000000..daadbacd714
--- /dev/null
+++ b/renewexport.sh
@@ -0,0 +1,10 @@
+#!/bin/bash
+shopt -s globstar
+
+RENEW_HOME=/usr/share/java/renew
+MAIN_CLASS=de.renew.io.exportcli.Export
+
+printf -v CLASSPATH '%s:' $RENEW_HOME/**/*.jar
+export CLASSPATH
+
+exec java $MAIN_CLASS $@