void-packages/srcpkgs/emptty/template

24 lines
750 B
Bash
Raw Normal View History

2020-06-08 18:34:18 +02:00
# Template file for 'emptty'
pkgname=emptty
2021-01-30 20:27:18 +01:00
version=0.5.0
2020-06-08 18:34:18 +02:00
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"
2021-01-30 20:27:18 +01:00
checksum=30fd606e9f2c00c923d6fc5d28774d2454e70f999aee57ff29de73eed824f384
2020-06-08 18:34:18 +02:00
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
}