summarylogtreecommitdiffstats
path: root/PKGBUILD
diff options
context:
space:
mode:
Diffstat (limited to 'PKGBUILD')
-rw-r--r--PKGBUILD15
1 files changed, 4 insertions, 11 deletions
diff --git a/PKGBUILD b/PKGBUILD
index cc615e12ec5..7a6bfdc45a7 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -3,19 +3,19 @@
pkgname=cryptomator
pkgver=1.2.2
-pkgrel=1
+pkgrel=2
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=8' 'java-openjfx')
-makedepends=('jdk8-openjdk' 'apache-ant')
+makedepends=('java-runtime-openjdk=8' 'apache-ant')
source=("antkit-${pkgver}.tar.gz::https://github.com/cryptomator/cryptomator/releases/download/${pkgver}/antkit.tar.gz"
'cryptomator.sh'
'cryptomator.desktop'
'cryptomator-vault.xml')
sha256sums=('SKIP'
- '031fbf7f62fe27d496c42f71818e19aa9d4a9920df3228ac032bb795e81c30b7'
+ 'c4c69b9e364469e7f1fa95fa2acaac269fb9ae18a5b9ff606b47511935a58cfc'
'1193f85b545298f6d474c7f17865433f25c73995b00894e0d7d7bc873c696464'
'78537ead26dcc1488d7fff02f47fce559f70f9bb2d7fa7fa1741ad3cd151bfad')
@@ -23,6 +23,7 @@ build() {
export JAVA_HOME=/usr/lib/jvm/java-8-openjdk/jre/
ant create-jar
}
+
package() {
install -d ${pkgdir}/usr/share/java/${pkgname}
install -Dm644 ${srcdir}/libs/*.jar ${pkgdir}/usr/share/java/$pkgname
@@ -32,11 +33,3 @@ package() {
install -Dm644 ${srcdir}/cryptomator-vault.xml ${pkgdir}/usr/share/mime/packages/cryptomator-vault.xml
install -Dm644 ${srcdir}/cryptomator.desktop ${pkgdir}/usr/share/applications/cryptomator.desktop
}
-post_install() {
- xdg-desktop-menu install --novendor /usr/share/applications/cryptomator.desktop
- xdg-mime install /usr/share/mime/packages/cryptomator-vault.xml
-}
-pre_remove() {
- xdg-desktop-menu uninstall --novendor /usr/share/applications/cryptomator.desktop
- xdg-mime uninstall /usr/share/mime/packages/cryptomator-vault.xml
-}