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