Skip to content

Commit 3cd961c

Browse files
committed
New package: wleave-0.6.2
Signed-off-by: Ludovico Piero <[email protected]>
1 parent 0df71b1 commit 3cd961c

File tree

1 file changed

+39
-0
lines changed

1 file changed

+39
-0
lines changed

srcpkgs/wleave/template

Lines changed: 39 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,39 @@
1+
# Template file for 'wleave'
2+
pkgname=wleave
3+
version=0.6.2
4+
revision=1
5+
build_style=cargo
6+
hostmakedepends="pkg-config scdoc"
7+
makedepends="gtk4-devel gtk4-layer-shell-devel librsvg-devel libadwaita-devel"
8+
short_desc="Wayland-native logout script written in GTK4"
9+
maintainer="Ludovico Piero <[email protected]>"
10+
license="MIT"
11+
homepage="https://github.com/AMNatty/wleave"
12+
changelog="https://github.com/AMNatty/wleave/releases"
13+
distfiles="https://github.com/AMNatty/wleave/archive/refs/tags/${version}.tar.gz"
14+
checksum=562041ca1f1956fcd90fd931b84c821f47a6c0d4b87f7deea6745cc411402a83
15+
conf_files="/etc/wleave/style.css /etc/wleave/layout.json"
16+
17+
post_build() {
18+
scdoc < man/wleave.1.scd > wleave.1
19+
scdoc < man/wleave.5.scd > wleave.5
20+
scdoc < man/wleave.json.5.scd > wleave.json.5
21+
}
22+
23+
post_install() {
24+
vlicense LICENSE
25+
26+
vinstall style.css 644 etc/wleave
27+
vinstall layout.json 644 etc/wleave
28+
29+
vman wleave.1
30+
vman wleave.5
31+
vman wleave.json.5
32+
33+
vmkdir usr/share/wleave
34+
vcopy icons usr/share/wleave/icons
35+
36+
vcompletion completions/wleave.bash bash
37+
vcompletion completions/_wleave zsh
38+
vcompletion completions/wleave.fish fish
39+
}

0 commit comments

Comments
 (0)