void-packages/srcpkgs/turnstile/template

25 lines
843 B
Bash
Raw Normal View History

2023-06-28 11:10:55 +02:00
# Template file for 'turnstile'
pkgname=turnstile
version=0.1.8
revision=1
build_style=meson
configure_args="-Ddinit=enabled -Drunit=enabled -Ddefault_backend=runit
-Dmanage_rundir=true"
hostmakedepends="pkg-config scdoc"
makedepends="pam-devel"
short_desc="Independent session/login tracker and user service manager"
maintainer="classabbyamp <void@placeviolette.net>"
license="BSD-2-Clause"
homepage="https://github.com/chimera-linux/turnstile"
distfiles="https://github.com/chimera-linux/turnstile/archive/refs/tags/v${version}.tar.gz"
checksum=7eaab8c80c76ae9a9a711d7dc57ec346b9af09be99b526a5a3129a7fc9bd7a76
conf_files="/etc/turnstile/turnstiled.conf"
post_install() {
vsv turnstiled
vsconf "${FILESDIR}/dbus.run"
chmod +x "${DESTDIR}/usr/share/examples/turnstile/dbus.run"
vdoc "${FILESDIR}/README.voidlinux"
vlicense COPYING.md
}