Github messages for voidlinux
 help / color / mirror / Atom feed
From: voidlinux-github@inbox.vuxu.org
To: ml@inbox.vuxu.org
Subject: Re: [PR PATCH] [Updated] New package: reddio-0.3
Date: Sat, 07 Sep 2019 18:25:29 +0200	[thread overview]
Message-ID: <20190907162529.SFF0ZIzkg7w4Yo7hxZF9fFDtqkQWK5xUbgFdh5GbHp4@z> (raw)
In-Reply-To: <gh-mailinglist-notifications-41a7ca26-5023-4802-975b-f1789d68868e-void-packages-14281@inbox.vuxu.org>

[-- Attachment #1: Type: text/plain, Size: 328 bytes --]

There is an updated pull request by Itamiko against master on the void-packages repository

https://github.com/Itamiko/void-packages reddio
https://github.com/void-linux/void-packages/pull/14281

New package: reddio-0.3
resolves #14223 

A patch file from https://github.com/void-linux/void-packages/pull/14281.patch is attached

[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #2: github-pr-reddio-14281.patch --]
[-- Type: text/x-diff, Size: 2271 bytes --]

From 0ed14bd1f3849c132824c3c336c1649e2a3ffab7 Mon Sep 17 00:00:00 2001
From: itamiko <itamiko@pm.me>
Date: Fri, 6 Sep 2019 22:12:11 -0600
Subject: [PATCH] New package: reddio-0.3

---
 .../reddio/patches/change_share_path.patch    | 13 +++++++++++++
 srcpkgs/reddio/reddio.INSTALL.msg             |  1 +
 srcpkgs/reddio/template                       | 19 +++++++++++++++++++
 3 files changed, 33 insertions(+)
 create mode 100644 srcpkgs/reddio/patches/change_share_path.patch
 create mode 100644 srcpkgs/reddio/reddio.INSTALL.msg
 create mode 100644 srcpkgs/reddio/template

diff --git a/srcpkgs/reddio/patches/change_share_path.patch b/srcpkgs/reddio/patches/change_share_path.patch
new file mode 100644
index 00000000000..a368733cf28
--- /dev/null
+++ b/srcpkgs/reddio/patches/change_share_path.patch
@@ -0,0 +1,13 @@
+diff --git a/reddio b/reddio
+index dfa47e0..806718d 100755
+--- reddio
++++ reddio
+@@ -185,7 +185,7 @@ example, 'p' for print or 'logi' for login."
+ 	load_config "$config_file"
+
+ 	# Environment variable has precedence over config
+-	lib_dir=${REDDIO_LIB:-${lib_dir:-/usr/local/share/reddio}}
++	lib_dir=${REDDIO_LIB:-${lib_dir:-/usr/share/reddio}}
+
+ 	# Make sure the lib directory can be found
+ 	[ -d "$lib_dir" ] \
diff --git a/srcpkgs/reddio/reddio.INSTALL.msg b/srcpkgs/reddio/reddio.INSTALL.msg
new file mode 100644
index 00000000000..b2595e79e42
--- /dev/null
+++ b/srcpkgs/reddio/reddio.INSTALL.msg
@@ -0,0 +1 @@
+Optional: nc to authenticate with your Reddit account credentials
diff --git a/srcpkgs/reddio/template b/srcpkgs/reddio/template
new file mode 100644
index 00000000000..8b6d59359ad
--- /dev/null
+++ b/srcpkgs/reddio/template
@@ -0,0 +1,19 @@
+# Template file for 'reddio'
+pkgname=reddio
+version=0.3
+revision=1
+wrksrc="${pkgname}-v${version}"
+depends="curl jq"
+short_desc="Command-line interface for Reddit written in POSIX"
+maintainer="itamiko <itamiko@pm.me>"
+license="MIT"
+homepage="https://gitlab.com/aaronNG/reddio"
+distfiles="https://gitlab.com/aaronNG/reddio/-/archive/v${version}/reddio-v${version}.tar.gz"
+checksum=be200dfba2bbbbff8ba2445ad9f41842419c9e3d65aa103a8334886f2b1ff870
+
+do_install() {
+	vbin reddio
+    vlicense LICENSE
+	vmkdir usr/share/reddio
+	vcopy share/reddio usr/share/reddio
+}

  parent reply	other threads:[~2019-09-07 16:25 UTC|newest]

Thread overview: 13+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2019-09-07 10:27 [PR PATCH] " voidlinux-github
2019-09-07 15:33 ` [PR PATCH] [Updated] " voidlinux-github
2019-09-07 15:33 ` voidlinux-github
2019-09-07 16:25 ` voidlinux-github
2019-09-07 16:25 ` voidlinux-github [this message]
2019-09-07 16:29 ` voidlinux-github
2019-09-07 16:29 ` voidlinux-github
2019-12-26  0:25 ` voidlinux-github
2019-12-30  5:43 ` voidlinux-github
2019-12-30  5:45 ` voidlinux-github
2019-12-30  5:45 ` voidlinux-github
2019-12-30  5:45 ` voidlinux-github
2019-12-30  5:45 ` [PR PATCH] [Closed]: " voidlinux-github

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20190907162529.SFF0ZIzkg7w4Yo7hxZF9fFDtqkQWK5xUbgFdh5GbHp4@z \
    --to=voidlinux-github@inbox.vuxu.org \
    --cc=ml@inbox.vuxu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
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).