# Template file for 'greetd' pkgname=greetd version=0.8.0 revision=2 build_style=cargo conf_files="/etc/greetd/config.toml" hostmakedepends="pkg-config scdoc" makedepends="pam-devel" short_desc="Minimal and flexible login manager daemon" maintainer="cinerea0 " license="GPL-3.0-or-later" homepage="https://git.sr.ht/~kennylevinsen/greetd" distfiles="https://git.sr.ht/~kennylevinsen/greetd/archive/${version}.tar.gz" checksum=47a73709df60f04b63fc50cfc409e47a451a9620777638f527b9d9333256035f system_accounts="_greeter" _greeter_groups="video" _greeter_homedir="/var/lib/_greeter" make_dirs="/var/lib/_greeter 0755 _greeter _greeter" pre_build() { cd man make all } do_install() { vbin "target/${RUST_TARGET}/release/agreety" vbin "target/${RUST_TARGET}/release/fakegreet" vbin "target/${RUST_TARGET}/release/greetd" vinstall config.toml 644 etc/greetd/ cd man make install vinstall ${FILESDIR}/greetd.pam 644 etc/pam.d/ greetd vsv greetd vdoc "${FILESDIR}/README.voidlinux" }