From dd4aa629d8b6cff48f3a6fbad1eecb02b812af25 Mon Sep 17 00:00:00 2001 From: Mattias Andrée Date: Sat, 13 Apr 2013 02:41:34 +0200 Subject: adopt loki-render MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: Mattias Andrée --- loki-render/PKGBUILD | 24 ++++++++++++++++++++++++ loki-render/loki-render | 3 +++ loki-render/watch | 21 +++++++++++++++++++++ 3 files changed, 48 insertions(+) create mode 100644 loki-render/PKGBUILD create mode 100755 loki-render/loki-render create mode 100755 loki-render/watch (limited to 'loki-render') 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 + -- cgit v1.2.3-70-g09d2