summarylogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--.SRCINFO10
-rw-r--r--PKGBUILD18
2 files changed, 10 insertions, 18 deletions
diff --git a/.SRCINFO b/.SRCINFO
index 72661cb6703..f7f54c92548 100644
--- a/.SRCINFO
+++ b/.SRCINFO
@@ -1,14 +1,14 @@
pkgbase = elan
pkgdesc = A video and audio annotation tool
pkgver = 5.9
- pkgrel = 2
- url = https://archive.mpi.nl/tla/elan
+ pkgrel = 3
+ url = https://tla.mpi.nl/tools/tla-tools/elan/
arch = any
license = GPL3
makedepends = maven
- makedepends = jdk8-openjdk
- depends = java-runtime
- source = https://www.mpi.nl/tools/elan/ELAN_5-9_src.zip
+ makedepends = java-environment>=9
+ depends = java-runtime>=9
+ source = http://www.mpi.nl/tools/elan/ELAN_5-9_src.zip
source = elan
sha256sums = 7562128003f317fd698d5b9fa92bf86c1b8d6643fa958fd09b036542db1135ba
sha256sums = c933caffc0daf1655ffb91564d234209205d9f49e0006c432d63a97a16f43363
diff --git a/PKGBUILD b/PKGBUILD
index 8d777ce0297..755d90d1fd3 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -3,28 +3,20 @@
pkgname=elan
pkgver=5.9
-pkgrel=2
+pkgrel=3
pkgdesc="A video and audio annotation tool"
arch=(any)
-url="https://archive.mpi.nl/tla/elan"
+url="https://tla.mpi.nl/tools/tla-tools/elan/"
license=('GPL3')
-depends=('java-runtime')
-makedepends=('maven' 'jdk8-openjdk')
-source=("https://www.mpi.nl/tools/elan/ELAN_$(echo "${pkgver}" | sed 's/\./-/g')_src.zip"
+depends=('java-runtime>=9')
+makedepends=('maven' 'java-environment>=9')
+source=("http://www.mpi.nl/tools/elan/ELAN_$(echo "${pkgver}" | sed 's/\./-/g')_src.zip"
"elan")
sha256sums=('7562128003f317fd698d5b9fa92bf86c1b8d6643fa958fd09b036542db1135ba'
'c933caffc0daf1655ffb91564d234209205d9f49e0006c432d63a97a16f43363')
-prepare() {
- cd "${pkgname}-${pkgver}"
- # Yikes, broken SSL certificate upstream
- sed -i 's#https://lux15#http://lux15#' pom.xml
-}
-
build() {
cd "${pkgname}-${pkgver}"
- export JAVA_HOME=/usr/lib/jvm/java-8-openjdk/
- export PATH=/usr/lib/jvm/java-8-openjdk/bin:$PATH
mvn package -P !linux -Dmaven.repo.local="${srcdir}/repo"
}