24 lines
769 B
Bash
24 lines
769 B
Bash
# Template file for 'emptty'
|
|
pkgname=emptty
|
|
version=0.9.1
|
|
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="tvrzna <emporeor@gmail.com>"
|
|
license="MIT"
|
|
homepage="https://github.com/tvrzna/emptty"
|
|
distfiles="https://github.com/tvrzna/emptty/archive/v${version}.tar.gz"
|
|
checksum=1b3c940da8d60705306525bf5a7619a7b30d954679e30a978a03ac53357e57d4
|
|
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
|
|
}
|