Github messages for voidlinux
 help / color / mirror / Atom feed
* [PR PATCH] New package: cryptomator-cli-0.4.0
@ 2020-11-16 18:55 nielznl
  2020-11-19  3:40 ` [PR REVIEW] " ericonr
                   ` (14 more replies)
  0 siblings, 15 replies; 16+ messages in thread
From: nielznl @ 2020-11-16 18:55 UTC (permalink / raw)
  To: ml

[-- 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}"
+}

^ permalink raw reply	[flat|nested] 16+ messages in thread

end of thread, other threads:[~2021-12-04 14:14 UTC | newest]

Thread overview: 16+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2020-11-16 18:55 [PR PATCH] New package: cryptomator-cli-0.4.0 nielznl
2020-11-19  3:40 ` [PR REVIEW] " ericonr
2020-11-19  3:40 ` ericonr
2020-11-19 16:26 ` [PR PATCH] [Updated] " nielznl
2020-11-19 16:32 ` nielznl
2020-11-19 17:08 ` [PR REVIEW] " nielznl
2020-11-19 17:12 ` nielznl
2020-11-20 18:45 ` nielznl
2020-11-20 18:46 ` nielznl
2020-11-20 18:49 ` nielznl
2020-11-20 18:58 ` nielznl
2020-11-20 18:59 ` nielznl
2020-11-20 19:02 ` nielznl
2020-11-20 19:03 ` nielznl
2021-12-04 14:08 ` [PR PATCH] [Updated] " nielznl
2021-12-04 14:14 ` [PR PATCH] [Closed]: " nielznl

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).