summaryrefslogtreecommitdiff
path: root/community/lightdm/PKGBUILD
diff options
context:
space:
mode:
Diffstat (limited to 'community/lightdm/PKGBUILD')
-rwxr-xr-xcommunity/lightdm/PKGBUILD19
1 files changed, 10 insertions, 9 deletions
diff --git a/community/lightdm/PKGBUILD b/community/lightdm/PKGBUILD
index 0f6773b73..2e6c5a49a 100755
--- a/community/lightdm/PKGBUILD
+++ b/community/lightdm/PKGBUILD
@@ -1,16 +1,17 @@
-# $Id: PKGBUILD 86471 2013-03-17 21:36:08Z alucryd $
+# $Id: PKGBUILD 87736 2013-04-05 17:29:45Z alucryd $
# Maintainer: Maxime Gauduin <alucryd@gmail.com>
# Contributor: Morfeo <morfeo89@hotmail.it>
pkgbase=lightdm
pkgname=('lightdm' 'liblightdm-qt4')
-pkgver=1.4.0
-pkgrel=3
+pkgver=1.4.1
+pkgrel=1
epoch=1
pkgdesc="A lightweight display manager"
arch=('i686' 'x86_64' 'mips64el')
url="https://launchpad.net/lightdm"
license=('GPL3' 'LGPL3')
+groups=('lightdm')
makedepends=('gobject-introspection' 'gtk-doc' 'intltool' 'itstool' 'libxklavier' 'qt4')
options=('!emptydirs' '!libtool')
source=("https://launchpad.net/lightdm/1.4/${pkgver}/+download/${pkgbase}-${pkgver}.tar.gz"
@@ -22,7 +23,7 @@ source=("https://launchpad.net/lightdm/1.4/${pkgver}/+download/${pkgbase}-${pkgv
'lightdm-default-config.patch'
'lightdm-lock-screen-before-switch.patch'
'xsession')
-sha256sums=('3486a9f828864a78d452696cf6fef6e1dec2f4ef92a72e90ab37edf9a0824c43'
+sha256sums=('f9ca1c03c3330b6265d03048f1ebafda596c436f279b5382bda656ab3a619439'
'2e03423cbe88c9fdc3a9684d6d14221aa6e92d105f9d1d53b08747d966c45125'
'b29521fbd7a48a8f60b93ecca3b30c30bcb71560de8033c8d39b25c22c6f696f'
'e8c4c5fd3b801a390d201166fd1fb9730e78a5c62928768103b870b6bd980ea0'
@@ -32,14 +33,16 @@ sha256sums=('3486a9f828864a78d452696cf6fef6e1dec2f4ef92a72e90ab37edf9a0824c43'
'4793eaee5915f5c519f569a4cd9158822d4c57c8b6e405895d2eddf82fa00822'
'7fb85a1b54406032a922e8fd6f45d869fcfe5681df630e74e8e50c040b786ee4')
-build() {
+prepare() {
cd "${srcdir}"/${pkgbase}-${pkgver}
-# Patch
patch -Np1 -i ../lightdm-default-config.patch
patch -Np1 -i ../lightdm-lock-screen-before-switch.patch
+}
+
+build() {
+ cd "${srcdir}"/${pkgbase}-${pkgver}
-# Build
./configure --prefix=/usr --sysconfdir=/etc --localstatedir=/var --libexecdir=/usr/lib/${pkgbase} --with-greeter-user=lightdm --with-greeter-session=lightdm-gtk-greeter --disable-{static,tests}
make
}
@@ -56,7 +59,6 @@ install=${pkgbase}.install
cd "${srcdir}"/${pkgbase}-${pkgver}
-# Install
make DESTDIR="${pkgdir}" install
make DESTDIR="${pkgdir}" -C liblightdm-qt uninstall
rm -rf "${pkgdir}"/etc/init
@@ -90,7 +92,6 @@ depends=('lightdm' 'qt4')
cd "${srcdir}"/${pkgbase}-${pkgver}
-# Install
make DESTDIR="${pkgdir}" -C liblightdm-gobject install
make DESTDIR="${pkgdir}" -C liblightdm-qt install
make DESTDIR="${pkgdir}" -C liblightdm-gobject uninstall