aboutsummaryrefslogtreecommitdiffstats
path: root/main
diff options
context:
space:
mode:
authorNatanael Copa <ncopa@alpinelinux.org>2011-10-03 11:57:34 +0000
committerNatanael Copa <ncopa@alpinelinux.org>2011-10-03 11:57:34 +0000
commit483dbad54ce8e4c3cad6f1053af2e92c1d96e76a (patch)
tree3d57a0f9acb37a5e4fa41fee3a4183fd352886c1 /main
parent773d4e0fb5f90dae87e37e46d6c7a8d7c471b46f (diff)
downloadaports-483dbad54ce8e4c3cad6f1053af2e92c1d96e76a.tar.bz2
aports-483dbad54ce8e4c3cad6f1053af2e92c1d96e76a.tar.xz
main/lxdm: fix default config
Diffstat (limited to 'main')
-rw-r--r--main/lxdm/APKBUILD19
1 files changed, 11 insertions, 8 deletions
diff --git a/main/lxdm/APKBUILD b/main/lxdm/APKBUILD
index 4b93c4ac9a..4ee8ec8152 100644
--- a/main/lxdm/APKBUILD
+++ b/main/lxdm/APKBUILD
@@ -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