diff options
-rw-r--r-- | main/lxdm/APKBUILD | 19 |
1 files changed, 11 insertions, 8 deletions
diff --git a/main/lxdm/APKBUILD b/main/lxdm/APKBUILD index 4b93c4ac9..4ee8ec815 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 |