From: abenson <abenson@users.noreply.github.com>
To: ml@inbox.vuxu.org
Subject: [PR PATCH] sway: add grimshot sub-package
Date: Fri, 17 Jul 2020 16:18:33 +0200 [thread overview]
Message-ID: <gh-mailinglist-notifications-41a7ca26-5023-4802-975b-f1789d68868e-void-packages-23614@inbox.vuxu.org> (raw)
[-- Attachment #1: Type: text/plain, Size: 321 bytes --]
There is a new pull request by abenson against master on the void-packages repository
https://github.com/abenson/void-packages sway_grimshot
https://github.com/void-linux/void-packages/pull/23614
sway: add grimshot sub-package
A patch file from https://github.com/void-linux/void-packages/pull/23614.patch is attached
[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #2: github-pr-sway_grimshot-23614.patch --]
[-- Type: text/x-diff, Size: 1308 bytes --]
From c4ddf4a25c110f07f6c0e649cdba86f20b96c428 Mon Sep 17 00:00:00 2001
From: Andrew Benson <abenson+void@gmail.com>
Date: Fri, 17 Jul 2020 09:18:11 -0500
Subject: [PATCH] sway: add grimshot sub-package
---
srcpkgs/grimshot | 1 +
srcpkgs/sway/template | 14 +++++++++++++-
2 files changed, 14 insertions(+), 1 deletion(-)
create mode 120000 srcpkgs/grimshot
diff --git a/srcpkgs/grimshot b/srcpkgs/grimshot
new file mode 120000
index 00000000000..3f4bb6581e9
--- /dev/null
+++ b/srcpkgs/grimshot
@@ -0,0 +1 @@
+sway
\ No newline at end of file
diff --git a/srcpkgs/sway/template b/srcpkgs/sway/template
index 3835a0c8866..6e191ba70e5 100644
--- a/srcpkgs/sway/template
+++ b/srcpkgs/sway/template
@@ -1,7 +1,7 @@
# Template file for 'sway'
pkgname=sway
version=1.5
-revision=1
+revision=2
build_style=meson
conf_files="/etc/sway/config"
hostmakedepends="pkg-config wayland-devel scdoc git"
@@ -29,4 +29,16 @@ post_install() {
# must be setuid without logind!
chmod u+s ${DESTDIR}/usr/bin/sway
fi
+ vbin contrib/grimshot
+ vman contrib/grimshot.1
+}
+
+grimshot_package() {
+ short_desc="Helper for screenshots within sway"
+ depends="grim slurp sway wl-clipboard jq libnotify"
+ archs="noarch"
+ pkg_install() {
+ vmove usr/bin/grimshot
+ vmove usr/share/man/man1/grimshot.1
+ }
}
next reply other threads:[~2020-07-17 14:18 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2020-07-17 14:18 abenson [this message]
2020-07-20 4:04 ` [PR PATCH] [Merged]: " abenson
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-23614@inbox.vuxu.org \
--to=abenson@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).