summarylogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--.SRCINFO9
-rw-r--r--PKGBUILD15
-rw-r--r--cryptomator.install9
3 files changed, 19 insertions, 14 deletions
diff --git a/.SRCINFO b/.SRCINFO
index 1407f2093fd..5d01d8d0cd7 100644
--- a/.SRCINFO
+++ b/.SRCINFO
@@ -1,11 +1,13 @@
+# Generated by mksrcinfo v8
+# Sun Nov 13 12:56:15 UTC 2016
pkgbase = cryptomator
pkgdesc = Multiplatform transparent client-side encryption of your files in the cloud.
pkgver = 1.2.2
- pkgrel = 1
+ pkgrel = 2
url = https://cryptomator.org/
arch = any
license = MIT/X Consortium License
- makedepends = jdk8-openjdk
+ makedepends = java-runtime-openjdk=8
makedepends = apache-ant
depends = java-runtime=8
depends = java-openjfx
@@ -14,8 +16,9 @@ pkgbase = cryptomator
source = cryptomator.desktop
source = cryptomator-vault.xml
sha256sums = SKIP
- sha256sums = 031fbf7f62fe27d496c42f71818e19aa9d4a9920df3228ac032bb795e81c30b7
+ sha256sums = c4c69b9e364469e7f1fa95fa2acaac269fb9ae18a5b9ff606b47511935a58cfc
sha256sums = 1193f85b545298f6d474c7f17865433f25c73995b00894e0d7d7bc873c696464
sha256sums = 78537ead26dcc1488d7fff02f47fce559f70f9bb2d7fa7fa1741ad3cd151bfad
pkgname = cryptomator
+
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
-}
diff --git a/cryptomator.install b/cryptomator.install
new file mode 100644
index 00000000000..cd21dbe3967
--- /dev/null
+++ b/cryptomator.install
@@ -0,0 +1,9 @@
+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
+}
+