sway: add grimshot sub-package
This commit is contained in:
parent
e4eac1716e
commit
5c2097ea52
2 changed files with 14 additions and 1 deletions
1
srcpkgs/grimshot
Symbolic link
1
srcpkgs/grimshot
Symbolic link
|
@ -0,0 +1 @@
|
|||
sway
|
|
@ -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
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue