From 5e43d9ba30f105fdd35b97368e517adf454f41ca Mon Sep 17 00:00:00 2001 From: RunningDroid Date: Wed, 2 Nov 2016 01:02:38 -0400 Subject: [PATCH] nodm: update to 0.12. --- srcpkgs/nodm/files/nodm/run | 2 +- srcpkgs/nodm/template | 17 +++++++++-------- 2 files changed, 10 insertions(+), 9 deletions(-) diff --git a/srcpkgs/nodm/files/nodm/run b/srcpkgs/nodm/files/nodm/run index 8d69e58fada..d43bfc7689b 100644 --- a/srcpkgs/nodm/files/nodm/run +++ b/srcpkgs/nodm/files/nodm/run @@ -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 diff --git a/srcpkgs/nodm/template b/srcpkgs/nodm/template index 7e558bc7eab..2761d23e9b1 100644 --- a/srcpkgs/nodm/template +++ b/srcpkgs/nodm/template @@ -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 " 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() {