New package: emptty-0.3.0

This commit is contained in:
xXR01I1Xx 2020-06-08 18:34:18 +02:00 committed by Andrew J. Hesford
parent 82e82fdc79
commit ac2108ace0

23
srcpkgs/emptty/template Normal file
View file

@ -0,0 +1,23 @@
# Template file for 'emptty'
pkgname=emptty
version=0.3.0
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=fa8a6336e150f0f74813ccf71817228deed9e06f1c8362e41634def959ff6c2b
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
}