summarylogtreecommitdiffstats
diff options
context:
space:
mode:
authorAndreas Born2021-04-24 15:35:19 +0200
committerAndreas Born2021-04-24 15:37:23 +0200
commit25a769cd84adec055cc72c5a23af6069b459135f (patch)
tree9a344fa755e3c21eb7211fa3ba375af955656e1d
parent464a37010f9c863c6bcce387b8838b7b50ab52d7 (diff)
downloadaur-lrz-syncshare.tar.gz
Bump version to 16.1.100
The original bundle finally stopped shipping Java 8 and switched to Java 15. According to my testing lrz-syncshare is finally less picky about the Java version and vendor and works with version 11 and newer. Therefore this package does not anymore force you to install a specific Java package and tries to pick whatever is available.
-rw-r--r--.SRCINFO9
-rw-r--r--PKGBUILD11
2 files changed, 11 insertions, 9 deletions
diff --git a/.SRCINFO b/.SRCINFO
index 88e1b588361..3fc93bba680 100644
--- a/.SRCINFO
+++ b/.SRCINFO
@@ -1,16 +1,17 @@
pkgbase = lrz-syncshare
pkgdesc = Sync client for the LRZ Sync+Share service
- pkgver = 15.6.101
+ pkgver = 16.1.100
pkgrel = 1
url = https://syncandshare.lrz.de/
arch = any
license = custom
depends = desktop-file-utils
depends = hicolor-icon-theme
- depends = jre8
+ depends = java-runtime>=11
depends = xdg-utils
- source = LRZ_Sync_Share_15.6.101_Linux.tar.gz::https://syncandshare.lrz.de/client_deployment/LRZ_Sync_Share_Latest_Linux.tar.gz
- sha256sums = 22f5ac666cd7263d2b23d4dad4d4c96dd1998546c8a980643e88c3f73c1f76ac
+ depends = archlinux-java-run
+ source = LRZ_Sync_Share_16.1.100_Linux.tar.gz::https://syncandshare.lrz.de/client_deployment/LRZ_Sync_Share_Latest_Linux.tar.gz
+ sha256sums = 48f34177bc21df233c7873e26e91c8ce41669656a08e5bd8889c93983474932e
pkgname = lrz-syncshare
diff --git a/PKGBUILD b/PKGBUILD
index 1a560ea25d1..08375d2d706 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -1,16 +1,17 @@
# Maintainer: Andreas Born <futur[DOT]andy[AT]googlemail[DOT]com>
pkgname=lrz-syncshare
-pkgver=15.6.101
+pkgver=16.1.100
pkgrel=1
pkgdesc="Sync client for the LRZ Sync+Share service"
url='https://syncandshare.lrz.de/'
arch=('any')
license=('custom')
-#depends=('desktop-file-utils' 'hicolor-icon-theme' 'jre>8u' 'jre<9' 'xdg-utils')
-depends=('desktop-file-utils' 'hicolor-icon-theme' 'jre8' 'xdg-utils')
+#depends=('desktop-file-utils' 'hicolor-icon-theme' 'jre>16' 'jre<17' 'xdg-utils')
+#depends=('desktop-file-utils' 'hicolor-icon-theme' 'jre11' 'xdg-utils')
+depends=('desktop-file-utils' 'hicolor-icon-theme' 'java-runtime>=11' 'xdg-utils' 'archlinux-java-run')
source=("LRZ_Sync_Share_${pkgver}_Linux.tar.gz::https://syncandshare.lrz.de/client_deployment/LRZ_Sync_Share_Latest_Linux.tar.gz")
-sha256sums=('22f5ac666cd7263d2b23d4dad4d4c96dd1998546c8a980643e88c3f73c1f76ac')
+sha256sums=('48f34177bc21df233c7873e26e91c8ce41669656a08e5bd8889c93983474932e')
pkgver() {
cat "${srcdir}/LRZ_Sync_Share/VERSION" | sed -e 's/\s*$//'
@@ -20,7 +21,7 @@ prepare() {
cd "${srcdir}/LRZ_Sync_Share"
sed -e "s;^CLIENT_INSTALL=.*\$;CLIENT_INSTALL=/usr/share/${pkgname};" \
- -e 's;^RUN_CMD="$CLIENT_INSTALL/jre/bin/java ;RUN_CMD="/usr/lib/jvm/java-8-jre/jre/bin/java ;' \
+ -e 's;^RUN_CMD="$CLIENT_INSTALL/jre/bin/java ;RUN_CMD="/usr/bin/archlinux-java-run -a 11 -- --illegal-access=permit ;' \
-i LRZ_Sync_Share-Client.sh
sed -e "s;^Icon=.*;Icon=${pkgname};" \
-e "s;^Exec=.*;Exec=${pkgname};" -i install-files/LRZ_Sync_Share.desktop