Commit 165f16e4 authored by Natanael Copa's avatar Natanael Copa

testing/lxdm: fix bash dependency and use start/stop template

parent 773995e7
......@@ -2,11 +2,11 @@
# Maintainer: William Pitcock <nenolod@dereferenced.org>
pkgname=lxdm
pkgver=0.3.0
pkgrel=1
pkgrel=2
pkgdesc="LXDE desktop login manager"
url="http://wiki.lxde.org/en/LXDM"
license="GPL"
depends=
depends="bash"
makedepends="autoconf automake gtk+-dev consolekit-dev"
install=
source="http://downloads.sourceforge.net/lxde/$pkgname-$pkgver.tar.gz
......@@ -50,6 +50,6 @@ package() {
}
md5sums="1d0688e088edab7c3c563263eb2f9654 lxdm-0.3.0.tar.gz
eab8bb69da8dc44ae0e1e1706c7efc74 lxdm.initd
d6455d172d5d897f6bfcefe9a1a632c7 lxdm.initd
045da38f5bb183ccacc489ea7e50e927 lxdm-execinfo.patch
0d44e8cd97894fd680e3f09e680c3481 lxdm-nopam.patch"
......@@ -4,15 +4,9 @@ depends() {
needs localmount
}
start() {
ebegin "Starting lxdm"
start-stop-daemon --start --quiet --exec /usr/sbin/lxdm -- -d
eend $?
}
stop() {
ebegin "Stopping lxdm"
start-stop-daemon --stop --quiet --exec /usr/sbin/lxdm
eend $?
}
description="Lightweight Login Manager"
command="/usr/sbin/lxdm"
command_args="-d"
pidfile="/var/run/lxdm.pid"
# uses the openrc templates for start()/stop()
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment