[-- Attachment #1: Type: text/plain, Size: 399 bytes --] There is a new pull request by nielznl against master on the void-packages repository https://github.com/nielznl/void-packages master https://github.com/void-linux/void-packages/pull/26438 New package: cryptomator-cli-0.4.0 I use this program myself, let me know whether it fits in the packages collection A patch file from https://github.com/void-linux/void-packages/pull/26438.patch is attached [-- Warning: decoded text below may be mangled, UTF-8 assumed --] [-- Attachment #2: github-pr-master-26438.patch --] [-- Type: text/x-diff, Size: 2635 bytes --] From 04d30a33d9d625c909a887e4f79b5e1c926daf65 Mon Sep 17 00:00:00 2001 From: Niels <nielznl@protonmail.com> Date: Sun, 8 Nov 2020 00:35:13 +0100 Subject: [PATCH 1/2] gyazo: update to 1.3.1. --- srcpkgs/gyazo/template | 9 ++++----- 1 file changed, 4 insertions(+), 5 deletions(-) diff --git a/srcpkgs/gyazo/template b/srcpkgs/gyazo/template index 3661570514a..4731753fdd1 100644 --- a/srcpkgs/gyazo/template +++ b/srcpkgs/gyazo/template @@ -1,16 +1,15 @@ # Template file for 'gyazo' pkgname=gyazo -version=1.2.1 +version=1.3.1 revision=1 wrksrc="Gyazo-for-Linux-${version}" depends="ruby xclip ImageMagick" -archs=noarch short_desc="Seriously Instant Screen-Grabbing" -maintainer="DirectorX <DirectorX@users.noreply.github.com>" -license="GPL-2" +maintainer="nielznl <nielznl@protonmail.com>" +license="GPL-2.0-or-later" homepage="https://github.com/gyazo/Gyazo-for-Linux" distfiles="${homepage}/archive/${version}.tar.gz" -checksum=c3a2a336a5f2515fc7cf71b07619ac9dc78e1db78bc326f8979b74d7ed4132e6 +checksum=a72fafaef4850d28418e877a0d21c6dd6fac7d549ebd9acae9b839168d987681 do_install() { vbin src/gyazo.rb gyazo From 7244312b52fc3176f8f60eb1d41a4a6cc840503d Mon Sep 17 00:00:00 2001 From: nielznl <nielznl@protonmail.com> Date: Mon, 16 Nov 2020 19:20:29 +0100 Subject: [PATCH 2/2] New package: cryptomator-cli-0.4.0 --- srcpkgs/cryptomator-cli/template | 36 ++++++++++++++++++++++++++++++++ 1 file changed, 36 insertions(+) create mode 100644 srcpkgs/cryptomator-cli/template diff --git a/srcpkgs/cryptomator-cli/template b/srcpkgs/cryptomator-cli/template new file mode 100644 index 00000000000..c4e520b47ac --- /dev/null +++ b/srcpkgs/cryptomator-cli/template @@ -0,0 +1,36 @@ +# Template file for 'cryptomator-cli' +pkgname=cryptomator-cli +version=0.4.0 +revision=1 +wrksrc="cli-${version}" +makedepends="apache-maven" +depends="openjdk11 davfs2" +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 +} + +post_build() { + # Make the jar file linux executable + cd target + echo '#!/bin/sh + MYSELF=$(which "$0" 2>/dev/null) + [ $? -gt 0 -a -f "$0" ] && MYSELF="./$0" + java=java + if test -n "$JAVA_HOME"; then + java="$JAVA_HOME/bin/java" + fi + exec "$java" $java_args -jar $MYSELF "$@" + exit 1' > stub.sh + cat stub.sh "${pkgname}-${version}.jar" > ${pkgname} +} + +do_install() { + vbin "target/${pkgname}" +}
[-- Attachment #1: Type: text/plain, Size: 206 bytes --] New review comment by ericonr on void-packages repository https://github.com/void-linux/void-packages/pull/26438#discussion_r526574154 Comment: Is it really openjdk11 or does it work with an earlier one?
[-- Attachment #1: Type: text/plain, Size: 373 bytes --] New review comment by ericonr on void-packages repository https://github.com/void-linux/void-packages/pull/26438#discussion_r526574050 Comment: Assuming I understood this correctly, you shouldn't do this, the preferred solution is to make a wrapper script in `files/` and `exec java -jar` in it. Also, `which` isn't installed by default, you can just use `command -v`
[-- Attachment #1: Type: text/plain, Size: 404 bytes --] There is an updated pull request by nielznl against master on the void-packages repository https://github.com/nielznl/void-packages master https://github.com/void-linux/void-packages/pull/26438 New package: cryptomator-cli-0.4.0 I use this program myself, let me know whether it fits in the packages collection A patch file from https://github.com/void-linux/void-packages/pull/26438.patch is attached [-- Warning: decoded text below may be mangled, UTF-8 assumed --] [-- Attachment #2: github-pr-master-26438.patch --] [-- Type: text/x-diff, Size: 1690 bytes --] From 5a868e8720baafac763c7f3f4868f4e57d5222d0 Mon Sep 17 00:00:00 2001 From: nielznl <nielznl@protonmail.com> Date: Thu, 19 Nov 2020 17:14:11 +0100 Subject: [PATCH] New package: cryptomator-cli-0.4.0 --- srcpkgs/cryptomator-cli/files/cryptomator-cli | 2 ++ srcpkgs/cryptomator-cli/template | 23 +++++++++++++++++++ 2 files changed, 25 insertions(+) create mode 100644 srcpkgs/cryptomator-cli/files/cryptomator-cli create mode 100644 srcpkgs/cryptomator-cli/template diff --git a/srcpkgs/cryptomator-cli/files/cryptomator-cli b/srcpkgs/cryptomator-cli/files/cryptomator-cli new file mode 100644 index 000000000000..e8b14a1e667e --- /dev/null +++ b/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 diff --git a/srcpkgs/cryptomator-cli/template b/srcpkgs/cryptomator-cli/template new file mode 100644 index 000000000000..1318c24aedc2 --- /dev/null +++ b/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" +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}" +}
[-- Attachment #1: Type: text/plain, Size: 404 bytes --] There is an updated pull request by nielznl against master on the void-packages repository https://github.com/nielznl/void-packages master https://github.com/void-linux/void-packages/pull/26438 New package: cryptomator-cli-0.4.0 I use this program myself, let me know whether it fits in the packages collection A patch file from https://github.com/void-linux/void-packages/pull/26438.patch is attached [-- Warning: decoded text below may be mangled, UTF-8 assumed --] [-- Attachment #2: github-pr-master-26438.patch --] [-- Type: text/x-diff, Size: 1684 bytes --] From da740e8613b254b0ef60ff4238021cf8859e4964 Mon Sep 17 00:00:00 2001 From: nielznl <nielznl@protonmail.com> Date: Thu, 19 Nov 2020 17:14:11 +0100 Subject: [PATCH] New package: cryptomator-cli-0.4.0 --- srcpkgs/cryptomator-cli/files/cryptomator-cli | 2 ++ srcpkgs/cryptomator-cli/template | 23 +++++++++++++++++++ 2 files changed, 25 insertions(+) create mode 100644 srcpkgs/cryptomator-cli/files/cryptomator-cli create mode 100644 srcpkgs/cryptomator-cli/template diff --git a/srcpkgs/cryptomator-cli/files/cryptomator-cli b/srcpkgs/cryptomator-cli/files/cryptomator-cli new file mode 100644 index 000000000000..e8b14a1e667e --- /dev/null +++ b/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 diff --git a/srcpkgs/cryptomator-cli/template b/srcpkgs/cryptomator-cli/template new file mode 100644 index 000000000000..52366f3984c3 --- /dev/null +++ b/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" +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}" +}
[-- Attachment #1: Type: text/plain, Size: 242 bytes --] New review comment by nielznl on void-packages repository https://github.com/void-linux/void-packages/pull/26438#discussion_r527054751 Comment: The readme says 'at least JDK 11'. I tried running it with JDK 8 but it is compiled for JDK 11.
[-- Attachment #1: Type: text/plain, Size: 300 bytes --] New review comment by nielznl on void-packages repository https://github.com/void-linux/void-packages/pull/26438#discussion_r527057054 Comment: Yeah I was thinking about something like that. I created the wrapper script to be put in /bin and I am now copying the jar file to /usr/share/${pkgname}.
[-- Attachment #1: Type: text/plain, Size: 206 bytes --] New review comment by nielznl on void-packages repository https://github.com/void-linux/void-packages/pull/26438#discussion_r527903649 Comment: I thought /usr/share/${pkgname} would be the right location
[-- Attachment #1: Type: text/plain, Size: 261 bytes --] New review comment by nielznl on void-packages repository https://github.com/void-linux/void-packages/pull/26438#discussion_r527054751 Comment: The readme says 'at least JDK 11'. I tried running it with JDK 8 but it is compiled for JDK 11 and it didn't work.
[-- Attachment #1: Type: text/plain, Size: 302 bytes --] New review comment by nielznl on void-packages repository https://github.com/void-linux/void-packages/pull/26438#discussion_r527054751 Comment: The readme says 'at least JDK 11'. It is compiled for JDK 11 which was even more clear after it told me so with an error while trying to run it with JDK 8.
[-- Attachment #1: Type: text/plain, Size: 297 bytes --] New review comment by nielznl on void-packages repository https://github.com/void-linux/void-packages/pull/26438#discussion_r527054751 Comment: The readme says 'at least JDK 11'. It is compiled for JDK 11 which was made clear after it told me so with an error while trying to run it with JDK 8.
[-- Attachment #1: Type: text/plain, Size: 289 bytes --] New review comment by nielznl on void-packages repository https://github.com/void-linux/void-packages/pull/26438#discussion_r527054751 Comment: The readme says 'at least JDK 11'. It is compiled for JDK 11 which was made clear after it gave me an error while trying to run it with JDK 8.
[-- Attachment #1: Type: text/plain, Size: 280 bytes --] New review comment by nielznl on void-packages repository https://github.com/void-linux/void-packages/pull/26438#discussion_r527054751 Comment: The readme says 'at least JDK 11'. It is compiled for JDK 11 which was mentioned in the error it gave me after running it with JDK 8.
[-- Attachment #1: Type: text/plain, Size: 294 bytes --] New review comment by nielznl on void-packages repository https://github.com/void-linux/void-packages/pull/26438#discussion_r527054751 Comment: 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.
[-- Attachment #1: Type: text/plain, Size: 404 bytes --] There is an updated pull request by nielznl against master on the void-packages repository https://github.com/nielznl/void-packages master https://github.com/void-linux/void-packages/pull/26438 New package: cryptomator-cli-0.4.0 I use this program myself, let me know whether it fits in the packages collection A patch file from https://github.com/void-linux/void-packages/pull/26438.patch is attached [-- Warning: decoded text below may be mangled, UTF-8 assumed --] [-- Attachment #2: github-pr-master-26438.patch --] [-- Type: text/x-diff, Size: 1684 bytes --] From da740e8613b254b0ef60ff4238021cf8859e4964 Mon Sep 17 00:00:00 2001 From: nielznl <nielznl@protonmail.com> Date: Thu, 19 Nov 2020 17:14:11 +0100 Subject: [PATCH] New package: cryptomator-cli-0.4.0 --- srcpkgs/cryptomator-cli/files/cryptomator-cli | 2 ++ srcpkgs/cryptomator-cli/template | 23 +++++++++++++++++++ 2 files changed, 25 insertions(+) create mode 100644 srcpkgs/cryptomator-cli/files/cryptomator-cli create mode 100644 srcpkgs/cryptomator-cli/template diff --git a/srcpkgs/cryptomator-cli/files/cryptomator-cli b/srcpkgs/cryptomator-cli/files/cryptomator-cli new file mode 100644 index 000000000000..e8b14a1e667e --- /dev/null +++ b/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 diff --git a/srcpkgs/cryptomator-cli/template b/srcpkgs/cryptomator-cli/template new file mode 100644 index 000000000000..52366f3984c3 --- /dev/null +++ b/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" +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}" +}
[-- Attachment #1: Type: text/plain, Size: 249 bytes --] There's a closed pull request on the void-packages repository New package: cryptomator-cli-0.4.0 https://github.com/void-linux/void-packages/pull/26438 Description: I use this program myself, let me know whether it fits in the packages collection