Merge pull request #5105 from RunningDroid/update-nodm

nodm: update to 0.12.
This commit is contained in:
Toyam Cox 2016-11-07 12:48:26 -05:00 committed by GitHub
commit a6130112f8
2 changed files with 10 additions and 9 deletions

View File

@ -1,4 +1,4 @@
#!/bin/sh
[ -r conf ] && . ./conf
export NODM_USER NODM_X_OPTIONS NODM_MIN_SESSION_TIME NODM_XINIT NODM_XSESSION
export NODM_USER NODM_X_OPTIONS NODM_MIN_SESSION_TIME NODM_XSESSION
exec nodm 1>&2

View File

@ -1,24 +1,25 @@
# Template file for 'nodm'
pkgname=nodm
version=0.7
version=0.12
revision=1
build_style=gnu-configure
hostmakedepends="help2man"
makedepends="pam-devel"
depends="xinit"
hostmakedepends="help2man automake pkg-config"
makedepends="pam-devel xorg-server-devel"
short_desc="Minimalistic display manager for automatic logins"
maintainer="Duncaen <duncaen@voidlinux.eu>"
license="GPL-2"
homepage="http://enricozini.org/sw/nodm/"
distfiles="http://enricozini.org/sw/nodm/$pkgname-${version}.tar.gz"
checksum=0f74cf5cd08f958923a3123a75e945ecc727cb486b51c87cf5a235445bd0c42a
homepage="https://github.com/spanezz/nodm"
distfiles="${homepage}/archive/debian/${version}-1.tar.gz"
checksum=840939d27d3d9b02ad09e1cffce24729bcdeee6cea6b3f0037d8ae76b49feecd
wrksrc=nodm-debian-${version}-1
pre_configure() {
if [ "$CROSS_BUILD" ]; then
# disable generating a man page with help2man while cross compiling.
# nodm -h needs to be executed on the host for generating it.
sed -i Makefile.in -e 's;man_MANS = nodm.8;;g'
sed -i Makefile.am -e 's;man_MANS = nodm.8;;g'
fi
./autogen.sh
}
post_install() {