* [PR PATCH] sway: add grimshot sub-package
@ 2020-07-17 14:18 abenson
2020-07-20 4:04 ` [PR PATCH] [Merged]: " abenson
0 siblings, 1 reply; 2+ messages in thread
From: abenson @ 2020-07-17 14:18 UTC (permalink / raw)
To: ml
[-- 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
+ }
}
^ permalink raw reply [flat|nested] 2+ messages in thread
* Re: [PR PATCH] [Merged]: sway: add grimshot sub-package
2020-07-17 14:18 [PR PATCH] sway: add grimshot sub-package abenson
@ 2020-07-20 4:04 ` abenson
0 siblings, 0 replies; 2+ messages in thread
From: abenson @ 2020-07-20 4:04 UTC (permalink / raw)
To: ml
[-- Attachment #1: Type: text/plain, Size: 164 bytes --]
There's a merged pull request on the void-packages repository
sway: add grimshot sub-package
https://github.com/void-linux/void-packages/pull/23614
Description:
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2020-07-20 4:04 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2020-07-17 14:18 [PR PATCH] sway: add grimshot sub-package abenson
2020-07-20 4:04 ` [PR PATCH] [Merged]: " abenson
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).