New package: autox-0.1.1

This commit is contained in:
Toyam Cox 2016-01-10 12:48:16 -05:00
parent e1509f8c3f
commit 7282ad658c
2 changed files with 29 additions and 0 deletions

6
srcpkgs/autox/files/autox/run Executable file
View file

@ -0,0 +1,6 @@
#!/bin/sh
exec 2>&1
[ -s conf ] && . ./conf
: ${USER:=nobody}
: ${TTY:=tty7}
exec setsid -w agetty -a $USER -n -l /usr/bin/autox -o $USER $TTY 38400 linux

23
srcpkgs/autox/template Normal file
View file

@ -0,0 +1,23 @@
# Template file for 'autox'
pkgname=autox
version=0.1.1
revision=1
wrksrc=${pkgname}-${version}-${pkgname}
build_wrksrc=src
build_style=gnu-makefile
conf_files="/etc/pam.d/autox"
makedepends="pam-devel"
depends="pam"
short_desc="Automatically log in a specified user and run xinit"
maintainer="Toyam Cox <Vaelatern@gmail.com>"
license="MIT"
homepage="https://github.com/jsumners/autox"
distfiles="https://github.com/jsumners/autox/archive/${version}-autox.tar.gz"
checksum=f8cdea3bd1a2ba1fdc7ad4a592c641cb478641869a5d7f7fbbaffc7e3d0bc5bd
do_install() {
vlicense ../LICENSE
vbin autox
vinstall autox.pam 755 /etc/pam.d autox
vsv autox
}