greetd: install manpages

This commit is contained in:
dkwo 2023-09-20 14:33:39 -04:00 committed by classabbyamp
parent 4a6ad16344
commit 3c9403c0a7
1 changed files with 3 additions and 5 deletions

View File

@ -1,7 +1,7 @@
# Template file for 'greetd'
pkgname=greetd
version=0.9.0
revision=1
revision=2
build_style=cargo
conf_files="/etc/greetd/config.toml"
hostmakedepends="pkg-config scdoc"
@ -19,8 +19,7 @@ _greeter_homedir="/var/lib/_greeter"
make_dirs="/var/lib/_greeter 0755 _greeter _greeter"
pre_build() {
cd man
make all
make -C man
}
do_install() {
@ -29,8 +28,7 @@ do_install() {
vbin "target/${RUST_TARGET}/release/greetd"
vinstall config.toml 644 etc/greetd/
cd man
make install
make -C man install PREFIX=/usr DESTDIR="$DESTDIR"
vinstall ${FILESDIR}/greetd.pam 644 etc/pam.d/ greetd
vsv greetd