aboutsummaryrefslogtreecommitdiffstats
path: root/loki-render
diff options
context:
space:
mode:
authorMattias Andrée <maandree@operamail.com>2013-04-13 02:41:34 +0200
committerMattias Andrée <maandree@operamail.com>2013-04-13 02:41:34 +0200
commitdd4aa629d8b6cff48f3a6fbad1eecb02b812af25 (patch)
treedf3d281bc53ab642323ef368c6a8a9f96b03f088 /loki-render
parentso far... (diff)
downloadaur-packages-dd4aa629d8b6cff48f3a6fbad1eecb02b812af25.tar.gz
aur-packages-dd4aa629d8b6cff48f3a6fbad1eecb02b812af25.tar.bz2
aur-packages-dd4aa629d8b6cff48f3a6fbad1eecb02b812af25.tar.xz
adopt loki-render
Signed-off-by: Mattias Andrée <maandree@operamail.com>
Diffstat (limited to '')
-rw-r--r--loki-render/PKGBUILD24
-rwxr-xr-xloki-render/loki-render3
-rwxr-xr-xloki-render/watch21
3 files changed, 48 insertions, 0 deletions
diff --git a/loki-render/PKGBUILD b/loki-render/PKGBUILD
new file mode 100644
index 0000000..76bb732
--- /dev/null
+++ b/loki-render/PKGBUILD
@@ -0,0 +1,24 @@
+# Maintainer: Mattias Andrée <`base64 -d`(bWFhbmRyZWUK)@member.fsf.org>
+pkgname=loki-render
+pkgver=0.6.2
+_pkgver=${pkgver//\./}
+pkgrel=1
+pkgdesc="Distribute the rendering of Blender 3D images (frames) across several computers"
+arch=('any')
+url="http://loki-render.berlios.de"
+license=('GPL')
+depends=('blender' 'java-runtime')
+makedepends=()
+source=("loki-render" "http://downloads.sourceforge.net/project/loki-render/loki-render/${pkgver}/lokiRender_${_pkgver}.zip")
+md5sums=('eddfd1fcf7a40b7855eb9d4e22831a37'
+ 'ad8d1708ca99c319301723c03e37ff52')
+
+package() {
+ mkdir -p "$pkgdir/usr/bin"
+ cp loki-render "$pkgdir/usr/bin"
+
+ cd "$srcdir/lokiRender_${_pkgver}"
+ mkdir -p $pkgdir/usr/share/java/loki-render
+ cp "lokiRender_${_pkgver}.jar" "$pkgdir/usr/share/java/loki-render/"
+}
+
diff --git a/loki-render/loki-render b/loki-render/loki-render
new file mode 100755
index 0000000..165f3e9
--- /dev/null
+++ b/loki-render/loki-render
@@ -0,0 +1,3 @@
+#!/bin/sh
+
+java -jar /usr/share/java/loki-render/lokiRender_062.jar
diff --git a/loki-render/watch b/loki-render/watch
new file mode 100755
index 0000000..d7dd52c
--- /dev/null
+++ b/loki-render/watch
@@ -0,0 +1,21 @@
+#!/bin/sh
+
+[ -f release ] && rm release
+
+wget 'http://loki-render.berlios.de/index.php/download' -O - 2>/dev/null | grep lokiRender > release
+
+if [ $? = 0 ]; then
+ [ -f unfetchable ] && rm unfetchable
+ md5sum release > new-sum
+ touch sum
+ if [ "$(cat sum)" = "$(cat new-sum)" ]; then
+ rm new-sum
+ else
+ mv new-sum sum
+ echo 'loki-render'
+ fi
+elif [ ! -f unfetchable ]; then
+ touch unfetchable
+ echo 'loki-render (unfetchable)'
+fi
+