Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

New package: cryptomator-cli-0.4.0 #26438

Closed
wants to merge 2 commits into from
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Jump to
Jump to file
Failed to load files.
Diff view
Diff view
2 changes: 2 additions & 0 deletions srcpkgs/cryptomator-cli/files/cryptomator-cli
@@ -0,0 +1,2 @@
#!/bin/bash
exec java -jar /usr/share/cryptomator-cli/cryptomator-cli-0.4.0.jar
23 changes: 23 additions & 0 deletions srcpkgs/cryptomator-cli/template
@@ -0,0 +1,23 @@
# Template file for 'cryptomator-cli'
pkgname=cryptomator-cli
version=0.4.0
revision=1
wrksrc="cli-${version}"
makedepends="apache-maven"
depends="openjdk11 davfs2"
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Is it really openjdk11 or does it work with an earlier one?

Copy link
Contributor Author

@nielznl nielznl Nov 19, 2020

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

The readme says 'at least JDK 11'. It seems to be compiled for JDK 11 which was also mentioned in the error it gave me after running it with JDK 8.

short_desc="Cryptomator Command Line Interface "
maintainer="nielznl <nielznl@protonmail.com>"
license="GPL-3.0-only"
homepage="https://cryptomator.org"
distfiles="https://github.com/cryptomator/cli/archive/${version}.tar.gz"
checksum=53a52dab25ca9d0e565e2066050fbe3933ffacb7ce14eb2f965ca818e8e4a49b

do_build() {
mvn clean install
}

do_install() {
vmkdir usr/share/${pkgname}
vcopy "target/${pkgname}-${version}.jar" "usr/share/${pkgname}/"
vbin "${FILESDIR}/${pkgname}"
}