aboutsummaryrefslogtreecommitdiffstats
path: root/testing/lightdm
diff options
context:
space:
mode:
Diffstat (limited to 'testing/lightdm')
-rw-r--r--testing/lightdm/APKBUILD48
1 files changed, 48 insertions, 0 deletions
diff --git a/testing/lightdm/APKBUILD b/testing/lightdm/APKBUILD
new file mode 100644
index 0000000000..d3ee291042
--- /dev/null
+++ b/testing/lightdm/APKBUILD
@@ -0,0 +1,48 @@
+# Contributor: Natanael Copa <ncopa@alpinelinux.org>
+# Maintainer: Natanael Copa <ncopa@alpinelinux.org>
+pkgname=lightdm
+pkgver=1.1.0
+pkgrel=0
+pkgdesc="A cross-desktop display manager"
+url="http://www.freedesktop.org/wiki/Software/LightDM"
+arch="all"
+license="GPL-3"
+depends=""
+depends_dev=""
+makedepends="linux-pam-dev gtk+3.0-dev libxklavier-dev"
+install=""
+subpackages="$pkgname-dev $pkgname-doc $pkgname-lang"
+source="http://people.ubuntu.com/~robert-ancell/lightdm/releases/lightdm-$pkgver.tar.gz"
+
+_builddir="$srcdir"/lightdm-$pkgver
+prepare() {
+ local i
+ cd "$_builddir"
+ for i in $source; do
+ case $i in
+ *.patch) msg $i; patch -p1 -i "$srcdir"/$i || return 1;;
+ esac
+ done
+}
+
+build() {
+ cd "$_builddir"
+ ./configure --prefix=/usr \
+ --enable-liblightdm-gobject \
+ --enable-gtk-greeter \
+ || return 1
+
+ # workaround build bug
+ touch tests/src/lightdm-session
+
+ make || return 1
+}
+
+package() {
+ cd "$_builddir"
+ make DESTDIR="$pkgdir" install || return 1
+ rm -f "$pkgdir"/usr/lib/*.la
+ mv "$pkgdir"/usr/lib/locale "$pkgdir"/usr/share/
+}
+
+md5sums="c2347200b1af29c677ef5ad83855217b lightdm-1.1.0.tar.gz"