Commit 483dbad5 authored by Natanael Copa's avatar Natanael Copa

main/lxdm: fix default config

parent 773d4e0f
......@@ -2,13 +2,14 @@
# Maintainer: William Pitcock <nenolod@dereferenced.org>
pkgname=lxdm
pkgver=0.4.1
pkgrel=0
pkgrel=1
pkgdesc="LXDE desktop login manager"
url="http://wiki.lxde.org/en/LXDM"
license="GPL"
depends="bash"
makedepends="autoconf automake gtk+-dev consolekit-dev"
makedepends="gtk+-dev consolekit-dev"
install=
subpackages="$pkgname-lang"
source="http://downloads.sourceforge.net/lxde/$pkgname-$pkgver.tar.gz
background.png
lxdm.initd"
......@@ -30,8 +31,6 @@ prepare() {
# Replace the default background with the Alpine default one
sed -i 's/file="wave.svg"/file="background.png"/' "$_builddir"/data/themes/Industrial/gtkrc
autoreconf
}
build() {
......@@ -39,15 +38,19 @@ build() {
./configure --prefix=/usr \
--sysconfdir=/etc \
--mandir=/usr/share/man \
--infodir=/usr/share/info \
--without-pam
--libexecdir=/usr/lib/lxdm \
--without-pam \
--with-xconn=xcb \
|| return 1
make || return 1
}
package() {
cd "$_builddir"
make DESTDIR="$pkgdir" install
make DESTDIR="$pkgdir" DATADIRNAME=share install
sed -i -e "s:^greeter=.*:greeter=/usr/lib/lxdm/lxdm-greeter-gtk:" \
"$pkgdir"/etc/lxdm/lxdm.conf
install -m755 -D "$srcdir"/$pkgname.initd "$pkgdir"/etc/init.d/$pkgname
# Install the custom Alpine background
......
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