diff options
author | Natanael Copa <ncopa@alpinelinux.org> | 2011-11-30 12:44:56 +0000 |
---|---|---|
committer | Natanael Copa <ncopa@alpinelinux.org> | 2011-11-30 12:44:56 +0000 |
commit | 18720d75a24aeb7e76ac539698a504e99fb9478d (patch) | |
tree | 27ca2999f73560a9d657fdcc4de5eb3c62c0cc98 /testing/lightdm/APKBUILD | |
parent | 0e1f8f3c88e3b4eb379ac5341427c7c3c8625944 (diff) | |
download | aports-18720d75a24aeb7e76ac539698a504e99fb9478d.tar.bz2 aports-18720d75a24aeb7e76ac539698a504e99fb9478d.tar.xz |
testing/lightdm: add user, initd script, fix localstatedir
Diffstat (limited to 'testing/lightdm/APKBUILD')
-rw-r--r-- | testing/lightdm/APKBUILD | 21 |
1 files changed, 15 insertions, 6 deletions
diff --git a/testing/lightdm/APKBUILD b/testing/lightdm/APKBUILD index 429875be51..368305b566 100644 --- a/testing/lightdm/APKBUILD +++ b/testing/lightdm/APKBUILD @@ -2,17 +2,20 @@ # Maintainer: Natanael Copa <ncopa@alpinelinux.org> pkgname=lightdm pkgver=1.1.0 -pkgrel=1 +pkgrel=2 pkgdesc="A cross-desktop display manager" url="http://www.freedesktop.org/wiki/Software/LightDM" arch="all" license="GPL-3" -depends="" +depends="dbus" depends_dev="" -makedepends="linux-pam-dev gtk+3.0-dev libxklavier-dev" -install="" +makedepends="linux-pam-dev gtk+3.0-dev libxklavier-dev libxext-dev + autoconf automake libtool gobject-introspection-dev" +install="$pkgname.pre-install" subpackages="$pkgname-dev $pkgname-doc $pkgname-lang" -source="http://people.ubuntu.com/~robert-ancell/lightdm/releases/lightdm-$pkgver.tar.gz" +source="http://people.ubuntu.com/~robert-ancell/lightdm/releases/lightdm-$pkgver.tar.gz + lightdm-x11-configure.patch + lightdm.initd" _builddir="$srcdir"/lightdm-$pkgver prepare() { @@ -29,8 +32,10 @@ build() { cd "$_builddir" ./configure --prefix=/usr \ --sysconfdir=/etc \ + --localstatedir=/var \ --enable-liblightdm-gobject \ --enable-gtk-greeter \ + --with-greeter-session=lightdm-gtk-greeter \ || return 1 # workaround build bug @@ -44,6 +49,10 @@ package() { make DESTDIR="$pkgdir" install || return 1 rm -f "$pkgdir"/usr/lib/*.la mv "$pkgdir"/usr/lib/locale "$pkgdir"/usr/share/ + + install -Dm755 "$srcdir"/lightdm.initd "$pkgdir"/etc/init.d/lightdm } -md5sums="c2347200b1af29c677ef5ad83855217b lightdm-1.1.0.tar.gz" +md5sums="c2347200b1af29c677ef5ad83855217b lightdm-1.1.0.tar.gz +10b9a72013ed824a12a8720ff28810a1 lightdm-x11-configure.patch +9eb01e4202919424face9bafbda4936c lightdm.initd" |