Github messages for voidlinux
 help / color / mirror / Atom feed
* [PR PATCH] New package: reddio-0.52
@ 2022-11-06  2:46 DerAndereJohannes
  2022-11-06 13:06 ` [PR REVIEW] " paper42
                   ` (10 more replies)
  0 siblings, 11 replies; 12+ messages in thread
From: DerAndereJohannes @ 2022-11-06  2:46 UTC (permalink / raw)
  To: ml

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

There is a new pull request by DerAndereJohannes against master on the void-packages repository

https://github.com/DerAndereJohannes/void-packages reddio
https://github.com/void-linux/void-packages/pull/40351

New package: reddio-0.52
<!-- Uncomment relevant sections and delete options which are not applicable -->

#### Testing the changes
- I tested the changes in this PR: **YES**


#### New package
- This new package conforms to the [package requirements](https://github.com/void-linux/void-packages/blob/master/CONTRIBUTING.md#package-requirements): **YES**

#### Note
First time contributing here. Been using reddio for a while, I saw that #14223 is open and the work was basically already done but not submitted in #14281. I made minor changes and decided to submit. Let me know if I should make any changes. Thanks!

<!-- Note: If the build is likely to take more than 2 hours, please add ci skip tag as described in
https://github.com/void-linux/void-packages/blob/master/CONTRIBUTING.md#continuous-integration
and test at least one native build and, if supported, at least one cross build.
Ignore this section if this PR is not skipping CI.
-->
<!--
#### Local build testing
- I built this PR locally for my native architecture, (ARCH-LIBC)
- I built this PR locally for these architectures (if supported. mark crossbuilds):
  - aarch64-musl
  - armv7l
  - armv6l-musl
-->


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

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

From aa69ed3c118e6fa4adcd62aacee5d366268c27ab Mon Sep 17 00:00:00 2001
From: Johannes Herforth <johannes.herforth@rwth-aachen.de>
Date: Sun, 6 Nov 2022 03:25:06 +0100
Subject: [PATCH] New package: reddio-0.52

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

diff --git a/srcpkgs/reddio/INSTALL.msg b/srcpkgs/reddio/INSTALL.msg
new file mode 100644
index 000000000000..3d9fbbecf1f6
--- /dev/null
+++ b/srcpkgs/reddio/INSTALL.msg
@@ -0,0 +1 @@
+Optional: netcat to authenticate with your Reddit account credentials
diff --git a/srcpkgs/reddio/patches/change_share_path.patch b/srcpkgs/reddio/patches/change_share_path.patch
new file mode 100644
index 000000000000..0e2a5d4cf02e
--- /dev/null
+++ b/srcpkgs/reddio/patches/change_share_path.patch
@@ -0,0 +1,13 @@
+diff --git a/reddio b/reddio
+index dd65718..bc78105 100755
+--- a/reddio
++++ b/reddio
+@@ -197,7 +197,7 @@ main()
+ 	fi
+ 
+ 	# Library path 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/template b/srcpkgs/reddio/template
new file mode 100644
index 000000000000..d34a8a4d794c
--- /dev/null
+++ b/srcpkgs/reddio/template
@@ -0,0 +1,19 @@
+# Template file for 'reddio'
+pkgname=reddio
+version=0.52
+revision=1
+wrksrc="${pkgname}-v${version}"
+depends="curl jq"
+short_desc="Command-line interface for Reddit written in POSIX"
+maintainer="Johannes Herforth <void@herforth.xyz>"
+license="MIT"
+homepage="https://gitlab.com/aaronNG/reddio"
+distfiles="https://gitlab.com/aaronNG/reddio/-/archive/v${version}/reddio-v${version}.tar.gz"
+checksum=7da96fe1877725b3ce12520a06e9105547fe7e6e4f5971f4b4318c96a79e8d07
+
+do_install() {
+	vbin reddio
+	vlicense LICENSE
+	vmkdir usr/share/reddio
+	vcopy share/reddio usr/share/
+}

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

end of thread, other threads:[~2023-02-25  2:01 UTC | newest]

Thread overview: 12+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2022-11-06  2:46 [PR PATCH] New package: reddio-0.52 DerAndereJohannes
2022-11-06 13:06 ` [PR REVIEW] " paper42
2022-11-06 13:06 ` paper42
2022-11-06 13:06 ` paper42
2022-11-11 11:47 ` [PR PATCH] [Updated] " DerAndereJohannes
2022-11-11 11:54 ` DerAndereJohannes
2022-11-11 12:02 ` DerAndereJohannes
2022-11-11 12:03 ` [PR PATCH] [Updated] " DerAndereJohannes
2022-11-11 12:11 ` DerAndereJohannes
2022-11-11 12:35 ` DerAndereJohannes
2023-02-10  2:40 ` github-actions
2023-02-25  2:01 ` [PR PATCH] [Closed]: " github-actions

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