From: ryanm0 <ryanm0@users.noreply.github.com>
To: ml@inbox.vuxu.org
Subject: [PR PATCH] New package: xcwd-1.0
Date: Thu, 31 Dec 2020 01:21:38 +0100 [thread overview]
Message-ID: <gh-mailinglist-notifications-41a7ca26-5023-4802-975b-f1789d68868e-void-packages-27567@inbox.vuxu.org> (raw)
[-- Attachment #1: Type: text/plain, Size: 303 bytes --]
There is a new pull request by ryanm0 against master on the void-packages repository
https://github.com/ryanm0/void-packages master
https://github.com/void-linux/void-packages/pull/27567
New package: xcwd-1.0
A patch file from https://github.com/void-linux/void-packages/pull/27567.patch is attached
[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #2: github-pr-master-27567.patch --]
[-- Type: text/x-diff, Size: 1502 bytes --]
From a6f65ed444b5a7a749e8ba5173d083b487e6fab9 Mon Sep 17 00:00:00 2001
From: Ryan M <ryanm0@protonmail.com>
Date: Thu, 31 Dec 2020 00:10:06 +0000
Subject: [PATCH] New package: xcwd-1.0
---
srcpkgs/xcwd/template | 32 ++++++++++++++++++++++++++++++++
1 file changed, 32 insertions(+)
create mode 100644 srcpkgs/xcwd/template
diff --git a/srcpkgs/xcwd/template b/srcpkgs/xcwd/template
new file mode 100644
index 00000000000..26a2e5b3f82
--- /dev/null
+++ b/srcpkgs/xcwd/template
@@ -0,0 +1,32 @@
+# Template file for 'xcwd'
+pkgname=xcwd
+version=1.0
+revision=1
+build_style=gnu-makefile
+make_use_env=yes
+make_install_args="prefix=\${DESTDIR}/usr"
+makedepends="libX11-devel"
+short_desc="Print the current working directory of the currently focused window"
+maintainer="Ryan M <ryanm0@protonmail.com>"
+license="BSD-3-Clause"
+homepage="https://github.com/schischi/xcwd"
+distfiles="https://github.com/schischi/xcwd/archive/v${version}.tar.gz"
+checksum=2f43935ccec750abb782d21363b9e999538d901d4c451ab204097c78acd2316f
+
+pre_build() {
+ # Makefile: respect environment vars, lets us set make_use_env above
+ sed -i 's/^CC=/CC?=/' Makefile
+ sed -i 's/^CFLAGS=/CFLAGS+=/' Makefile
+ sed -i 's/^LDFLAGS=/LDFLAGS+=/' Makefile
+}
+
+pre_install() {
+ # Makefile doesn't do this step, so if the directory $DESTDIR/usr/bin
+ # doesn't exist (it doesn't), the xcwd executable will be placed in /usr
+ # as a file called bin.
+ mkdir -p "${DESTDIR}/usr/bin"
+}
+
+post_install() {
+ vlicense LICENSE
+}
next reply other threads:[~2020-12-31 0:21 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2020-12-31 0:21 ryanm0 [this message]
2022-05-01 2:15 ` github-actions
2022-05-16 2:07 ` [PR PATCH] [Closed]: " github-actions
2023-04-23 11:24 ` LinArcX
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=gh-mailinglist-notifications-41a7ca26-5023-4802-975b-f1789d68868e-void-packages-27567@inbox.vuxu.org \
--to=ryanm0@users.noreply.github.com \
--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).