Skip to content

Commit

Permalink
greetd: install manpages
Browse files Browse the repository at this point in the history
  • Loading branch information
dkwo committed Sep 21, 2023
1 parent 4a6ad16 commit 0a61693
Showing 1 changed file with 3 additions and 5 deletions.
8 changes: 3 additions & 5 deletions srcpkgs/greetd/template
Original file line number Diff line number Diff line change
@@ -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"
Expand All @@ -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() {
Expand All @@ -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
Expand Down

0 comments on commit 0a61693

Please sign in to comment.