summarylogtreecommitdiffstats
diff options
context:
space:
mode:
authorFoxboron2016-04-03 20:37:55 +0200
committerFoxboron2016-04-03 20:37:55 +0200
commitae1ccffbeb071630e73937ec31f647864c5bebfa (patch)
tree2e4304e9939f34778d2778f4b1cc0b61f9b27936
parentc2432615f46025b9c01aa2997a31dd474746633b (diff)
downloadaur-ae1ccffbeb071630e73937ec31f647864c5bebfa.tar.gz
upgpkg: cryptomator 1.0.3-3
Reworked the build
-rw-r--r--.SRCINFO6
-rw-r--r--PKGBUILD13
-rw-r--r--cryptomator.sh2
3 files changed, 13 insertions, 8 deletions
diff --git a/.SRCINFO b/.SRCINFO
index 2655d020543..0b2881325ca 100644
--- a/.SRCINFO
+++ b/.SRCINFO
@@ -1,9 +1,9 @@
# Generated by mksrcinfo v8
-# Sun Apr 3 18:13:58 UTC 2016
+# Sun Apr 3 18:37:55 UTC 2016
pkgbase = cryptomator
pkgdesc = Multiplatform transparent client-side encryption of your files in the cloud.
pkgver = 1.0.3
- pkgrel = 2
+ pkgrel = 3
url = https://cryptomator.org/
arch = any
license = MIT/X Consortium License
@@ -12,7 +12,9 @@ pkgbase = cryptomator
depends = java-openjfx
noextract = Cryptomator-1.0.3.jar
source = https://github.com/cryptomator/cryptomator/releases/download/1.0.3/Cryptomator-1.0.3.jar
+ source = cryptomator.sh
sha256sums = 6b4a8736b56b1c83f4bda67e28967c6c5df870b9fb1e1bbd96077f7a5efa9a60
+ sha256sums = 0bc12ee603ef87536389aeb85bf0afaf8995bae2c9ed826290b2bb0d838a9766
pkgname = cryptomator
diff --git a/PKGBUILD b/PKGBUILD
index 56fc3786fcb..991b6022097 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -2,20 +2,21 @@
pkgname=cryptomator
pkgver=1.0.3
-pkgrel=2
+pkgrel=3
pkgdesc="Multiplatform transparent client-side encryption of your files in the cloud."
arch=("any")
url="https://cryptomator.org/"
license=('MIT/X Consortium License')
depends=('java-runtime' 'java-environment' 'java-openjfx')
-source=("https://github.com/cryptomator/cryptomator/releases/download/${pkgver}/Cryptomator-${pkgver}.jar")
+source=("https://github.com/cryptomator/cryptomator/releases/download/${pkgver}/Cryptomator-${pkgver}.jar"
+ "${pkgname}.sh")
noextract=("Cryptomator-${pkgver}.jar")
-sha256sums=('6b4a8736b56b1c83f4bda67e28967c6c5df870b9fb1e1bbd96077f7a5efa9a60')
+sha256sums=('6b4a8736b56b1c83f4bda67e28967c6c5df870b9fb1e1bbd96077f7a5efa9a60'
+ '0bc12ee603ef87536389aeb85bf0afaf8995bae2c9ed826290b2bb0d838a9766')
package() {
install -d "${pkgdir}/usr/share/java/${pkgname}"
- cp -r * "${pkgdir}/usr/share/java/${pkgname}"
- install -d "${pkgdir}/usr/bin"
- ln -s "/usr/share/java/${pkgname}/${pkgname}" "${pkgdir}/usr/bin/${pkgname}"
+ install -D "${srcdir}/Cryptomator-${pkgver}.jar" "${pkgdir}/usr/share/java/$pkgname/cryptomator.jar"
+ install -Dm655 "${srcdir}/cryptomator.sh" "${pkgdir}/usr/bin/cryptomator"
}
diff --git a/cryptomator.sh b/cryptomator.sh
new file mode 100644
index 00000000000..090d5286a0e
--- /dev/null
+++ b/cryptomator.sh
@@ -0,0 +1,2 @@
+#!/bin/sh
+exec /usr/bin/java -jar '/usr/share/java/cryptomator/cryptomator.jar' "$@"