summarylogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--.SRCINFO16
-rw-r--r--PKGBUILD37
-rwxr-xr-xelan11
3 files changed, 64 insertions, 0 deletions
diff --git a/.SRCINFO b/.SRCINFO
new file mode 100644
index 00000000000..304956fd6cc
--- /dev/null
+++ b/.SRCINFO
@@ -0,0 +1,16 @@
+pkgbase = elan
+ pkgdesc = A video and audio annotation tool
+ pkgver = 4.9.4
+ pkgrel = 1
+ url = https://tla.mpi.nl/tools/tla-tools/elan/
+ arch = any
+ license = GPL3
+ makedepends = maven
+ depends = java-runtime
+ source = http://www.mpi.nl/tools/elan/ELAN_4-9-4_src.zip
+ source = elan
+ sha256sums = fd1eee70a10b53f98efe7808c81650ebff175cac774166ff9aaa70e452207101
+ sha256sums = c933caffc0daf1655ffb91564d234209205d9f49e0006c432d63a97a16f43363
+
+pkgname = elan
+
diff --git a/PKGBUILD b/PKGBUILD
new file mode 100644
index 00000000000..10946d62075
--- /dev/null
+++ b/PKGBUILD
@@ -0,0 +1,37 @@
+# Maintainer: Johannes Wienke <languitar@semipol.de>
+
+pkgname=elan
+pkgver=4.9.4
+pkgrel=1
+pkgdesc="A video and audio annotation tool"
+arch=(any)
+url="https://tla.mpi.nl/tools/tla-tools/elan/"
+license=('GPL3')
+depends=('java-runtime')
+makedepends=('maven')
+source=("http://www.mpi.nl/tools/elan/ELAN_$(echo "${pkgver}" | sed 's/\./-/g')_src.zip"
+ "elan")
+sha256sums=('fd1eee70a10b53f98efe7808c81650ebff175cac774166ff9aaa70e452207101'
+ 'c933caffc0daf1655ffb91564d234209205d9f49e0006c432d63a97a16f43363')
+
+prepare() {
+ cd "${pkgname}-${pkgver}"
+ # Yikes, broken SSL certificate upstream
+ sed -i 's#https://lux15#http://lux15#' pom.xml
+}
+
+build() {
+ cd "${pkgname}-${pkgver}"
+ mvn package -P !linux -Dmaven.repo.local="${srcdir}/repo"
+}
+
+package() {
+ cd "${pkgname}-${pkgver}/target"
+ install -dm755 "${pkgdir}/usr/share/java/elan"
+ install -Dm644 ./*.jar "${pkgdir}/usr/share/java/elan"
+ install -Dm644 ./*.jar "${pkgdir}/usr/share/java/elan"
+ install -dm755 "${pkgdir}/usr/share/java/elan/lib"
+ install -Dm644 lib/*.* "${pkgdir}/usr/share/java/elan/lib"
+ install -dm755 "${pkgdir}/usr/bin"
+ install -Dm755 "${srcdir}/elan" "${pkgdir}/usr/bin"
+}
diff --git a/elan b/elan
new file mode 100755
index 00000000000..964ef5374ca
--- /dev/null
+++ b/elan
@@ -0,0 +1,11 @@
+#!/bin/bash
+
+for name in /usr/share/java/elan/lib/*.jar;
+do
+ CP=$CP:$name
+done
+for name in /usr/share/java/elan/*.jar;
+do
+ CP=$CP:$name
+done
+java -cp "$CP" mpi.eudico.client.annotator.ELAN