Github messages for voidlinux
 help / color / mirror / Atom feed
* [PR PATCH] New package: reddio-0.3
@ 2019-09-07 10:27 voidlinux-github
  2019-09-07 15:33 ` [PR PATCH] [Updated] " voidlinux-github
                   ` (11 more replies)
  0 siblings, 12 replies; 13+ messages in thread
From: voidlinux-github @ 2019-09-07 10:27 UTC (permalink / raw)
  To: ml

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

There is a new 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: 2308 bytes --]

From abce9105cb42f0e254276ca78969f99b9cbd7222 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                       | 23 +++++++++++++++++++
 3 files changed, 37 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..650e8c9494d
--- /dev/null
+++ b/srcpkgs/reddio/patches/change_share_path.patch
@@ -0,0 +1,13 @@
+diff --git a/reddio b/reddio
+index dfa47e0..806718d 100755
+--- a/reddio
++++ b/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..22a6bf6e572
--- /dev/null
+++ b/srcpkgs/reddio/template
@@ -0,0 +1,23 @@
+# Template file for 'reddio'
+pkgname=reddio
+version=0.3
+revision=5
+wrksrc="reddio-v0.3"
+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
+patch_args="-Np1"
+
+do_install() {
+	vbin reddio
+	vmkdir usr/share/reddio
+	vcopy share/reddio/** usr/share/reddio/
+}
+
+post_install() {
+	 vlicense LICENSE
+}

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

end of thread, other threads:[~2019-12-30  5:45 UTC | newest]

Thread overview: 13+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2019-09-07 10:27 [PR PATCH] New package: reddio-0.3 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
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

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).