summarylogtreecommitdiffstats
path: root/PKGBUILD
diff options
context:
space:
mode:
Diffstat (limited to 'PKGBUILD')
-rw-r--r--PKGBUILD18
1 files changed, 5 insertions, 13 deletions
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"
}