sway: add grimshot sub-package

This commit is contained in:
Andrew Benson 2020-07-17 09:18:11 -05:00 committed by Andrew Benson
parent e4eac1716e
commit 5c2097ea52
2 changed files with 14 additions and 1 deletions

1
srcpkgs/grimshot Symbolic link
View file

@ -0,0 +1 @@
sway

View file

@ -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
}
}