~alpine/aports

This thread contains a patchset. You're looking at the original emails, but you may wish to use the patch review UI. Review patch
2 2

[PATCH] community/sway: add grimshot subpackage

Details
Message ID
<20220123202703.8257-1-sebastian@sebsite.pw>
DKIM signature
missing
Download raw message
Patch: +14 -0
Signed-off-by: Sebastian <sebastian@sebsite.pw>
---
 community/sway/APKBUILD | 14 ++++++++++++++
 1 file changed, 14 insertions(+)

diff --git a/community/sway/APKBUILD b/community/sway/APKBUILD
index 64ac484d..9399ee84 100644
--- a/community/sway/APKBUILD
+++ b/community/sway/APKBUILD
@@ -35,6 +35,7 @@ subpackages="
	$pkgname-bash-completion
	$pkgname-zsh-completion
	$pkgname-fish-completion
	grimshot::noarch
	"
source="$pkgname-$pkgver.tar.gz::https://github.com/swaywm/sway/archive/$pkgver.tar.gz
	sway.desktop
@@ -51,6 +52,11 @@ package() {
	install -D -m644 "$srcdir"/sway.desktop \
		"$pkgdir"/usr/share/wayland-sessions/sway.desktop

	install -D -m755 contrib/grimshot \
		"$pkgdir"/usr/bin/grimshot
	install -D -m644 contrib/grimshot.1 \
		"$pkgdir"/usr/share/man/man1/grimshot.1

	# move fish completion files where they are expected
	mv "$pkgdir"/usr/share/fish/vendor_completions.d "$pkgdir"/usr/share/fish/completions
}
@@ -63,6 +69,14 @@ wallpapers() {
	amove usr/share/backgrounds
}

grimshot() {
	pkgdesc="A helper for screenshots within Sway"
	depends="grim jq libnotify slurp sway wl-clipboard"

	mkdir -p "$subpkgdir"/usr/bin/
	mv "$pkgdir"/usr/bin/grimshot "$subpkgdir"/usr/bin/
}

sha512sums="
028cf5d504d5914bfb78d44156d6a290de660c5ed0638f4e2c56e5be76db9b0baeda035e1fa1ae23559016bd7e4312f7ff70c2fb4904df25358577c1a3d21243  sway-1.7.tar.gz
c9bc08fbd9d059c037ad1e3b7ab5e91bcde27dce248cc558c1f126b01c85b1d0d4ed4bb10e3f27bc818a06e60a81f19478b95529d4eeb32036e2c6ea9f29db36  sway.desktop
-- 
2.34.1
Details
Message ID
<164297773948.985.683386436262307511.gitlab.29889.23bd8d229c1fb158e89a14f150d030db6ac723c8@listserv.local>
In-Reply-To
<20220123202703.8257-1-sebastian@sebsite.pw> (view parent)
DKIM signature
missing
Download raw message
pkgrel must be bumped for changes to take effect

-- 
via https://gitlab.alpinelinux.org/alpine/aports/-/merge_requests/29889#note_208726
Details
Message ID
<164300369272.985.16102672283730235365.gitlab.29889.735b89235c5fe10cbaf5879e9bddf28ae5b516e0@listserv.local>
In-Reply-To
<20220123202703.8257-1-sebastian@sebsite.pw> (view parent)
DKIM signature
missing
Download raw message
superseded by https://gitlab.alpinelinux.org/alpine/aports/-/merge_requests/29893

-- 
via https://gitlab.alpinelinux.org/alpine/aports/-/merge_requests/29889#note_208760
Reply to thread Export thread (mbox)