Date: Wednesday, October 22, 2014 @ 10:05:10
  Author: alucryd
Revision: 121208

upgpkg: lightdm-gtk-greeter 1:1.8.6-1

Modified:
  lightdm-gtk-greeter/trunk/PKGBUILD

----------+
 PKGBUILD |   45 +++++++++++++++++++++++++--------------------
 1 file changed, 25 insertions(+), 20 deletions(-)

Modified: PKGBUILD
===================================================================
--- PKGBUILD    2014-10-22 08:03:13 UTC (rev 121207)
+++ PKGBUILD    2014-10-22 08:05:10 UTC (rev 121208)
@@ -1,45 +1,49 @@
 # $Id$
-# Maintainer: Maxime Gauduin <aluc...@gmail.com>
+# Maintainer: Maxime Gauduin <alucrydarchlinux.org>
 # Contributor: Padfoot <padf...@exemail.com.au>
 
 pkgbase=lightdm-gtk-greeter
 pkgname=('lightdm-gtk2-greeter' 'lightdm-gtk3-greeter')
-pkgver=1.8.5
+pkgver=1.8.6
 pkgrel=1
 epoch=1
 pkgdesc='GTK+ greeter for LightDM'
 arch=('i686' 'x86_64')
-url="https://launchpad.net/${pkgbase}";
+url='https://launchpad.net/lightdm-gtk-greeter'
 license=('GPL3' 'LGPL3')
-makedepends=('exo' 'gnome-doc-utils' 'gobject-introspection' 'gtk2' 'gtk3' 
'intltool' 'lightdm')
-backup=("etc/lightdm/${pkgbase}.conf")
-install="${pkgbase}.install"
-source=("${url}/${pkgver%.?}/${pkgver}/+download/${pkgbase}-${pkgver}.tar.gz")
-sha256sums=('22386e787dc64ac372c63cf2cdce47bfa1c791d1cf8b5d3df68df24ecfbf7d68')
+makedepends=('bzr' 'exo' 'gnome-common' 'gnome-doc-utils'
+             'gobject-introspection' 'gtk2' 'gtk3' 'intltool' 'lightdm')
+backup=('etc/lightdm/lightdm-gtk-greeter.conf')
+install='lightdm-gtk-greeter.install'
+source=('bzr+lp:lightdm-gtk-greeter#revision=299')
+sha256sums=('SKIP')
 
 prepare() {
-  cp -r ${pkgbase}-${pkgver} lightdm-gtk2-greeter
-  mv ${pkgbase}-${pkgver} lightdm-gtk3-greeter
+  cp -r lightdm-gtk-greeter lightdm-gtk2-greeter
+  mv lightdm-gtk-greeter lightdm-gtk3-greeter
 }
 
 build() {
   cd lightdm-gtk2-greeter
 
-  ./configure --prefix='/usr' --sbindir='/usr/bin' --sysconfdir='/etc' \
-              --libexecdir='/usr/lib/lightdm' --disable-static --with-gtk2
+  ./autogen.sh --prefix='/usr' --sbindir='/usr/bin' --sysconfdir='/etc' \
+               --libexecdir='/usr/lib/lightdm' --disable-static --with-gtk2 \
+               --with-libxklavier
     make
 
   cd ../lightdm-gtk3-greeter
 
-  ./configure --prefix='/usr' --sbindir='/usr/bin' --sysconfdir='/etc' \
-              --libexecdir='/usr/lib/lightdm' --disable-static
+  ./autogen.sh --prefix='/usr' --sbindir='/usr/bin' --sysconfdir='/etc' \
+               --libexecdir='/usr/lib/lightdm' --disable-static \
+               --with-libxklavier
     make
 }
 
 package_lightdm-gtk2-greeter() {
-depends=('gtk2' 'lightdm')
-provides=("${pkgbase}")
-conflicts=("${pkgbase}")
+  depends=('gtk2' 'lightdm')
+  provides=('lightdm-gtk-greeter')
+  conflicts=('lightdm-gtk-greeter')
+
   cd lightdm-gtk2-greeter
 
   make DESTDIR="${pkgdir}" install
@@ -46,9 +50,10 @@
 }
 
 package_lightdm-gtk3-greeter() {
-depends=('gtk3' 'lightdm')
-provides=("${pkgbase}")
-conflicts=("${pkgbase}")
+  depends=('gtk3' 'lightdm')
+  provides=('lightdm-gtk-greeter')
+  conflicts=('lightdm-gtk-greeter')
+
   cd lightdm-gtk3-greeter
 
   make DESTDIR="${pkgdir}" install

Reply via email to