37 lines
1.0 KiB
Bash
37 lines
1.0 KiB
Bash
# Template file for 'greetd'
|
|
pkgname=greetd
|
|
version=0.9.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 <cinerea0@protonmail.com>"
|
|
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=a0cec141dea7fd7838b60a52237692d0fd5a0169cf748b8f8379d8409a3768eb
|
|
|
|
system_accounts="_greeter"
|
|
_greeter_groups="video"
|
|
_greeter_homedir="/var/lib/_greeter"
|
|
make_dirs="/var/lib/_greeter 0755 _greeter _greeter"
|
|
|
|
pre_build() {
|
|
make -C man
|
|
}
|
|
|
|
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/
|
|
|
|
make -C man install PREFIX=/usr DESTDIR="$DESTDIR"
|
|
|
|
vinstall ${FILESDIR}/greetd.pam 644 etc/pam.d/ greetd
|
|
vsv greetd
|
|
vdoc "${FILESDIR}/README.voidlinux"
|
|
}
|