void-packages/srcpkgs/emptty/template
2021-05-31 10:59:08 -03:00

24 lines
750 B
Bash

# Template file for 'emptty'
pkgname=emptty
version=0.5.2
revision=1
build_style=go
go_import_path=github.com/tvrzna/emptty
makedepends="pam-devel libX11-devel"
short_desc="Dead simple Display Manager running in CLI as TTY login"
maintainer="xXR01I1Xx <xxr01i1xx@tuta.io>"
license="MIT"
homepage="https://github.com/tvrzna/emptty"
distfiles="${homepage}/archive/v${version}.tar.gz"
checksum=469e69b28035e8225f4d41f4e5a002607a5ea5e3ac796a64ef53b22d279c8419
conf_files="/etc/emptty/conf /etc/pam.d/emptty"
post_install() {
vinstall res/pam 644 etc/pam.d emptty
vinstall res/runit-run 755 etc/sv/emptty run
vinstall res/conf 644 etc/emptty
vman res/emptty.1
vlicense LICENSE
ln -s /run/runit/supervise.emptty ${DESTDIR}/etc/sv/emptty/supervise
}