[arch-commits] Commit in lightdm-gtk-greeter/trunk (PKGBUILD)
Maxime Gauduin
alucryd at archlinux.org
Thu Feb 26 13:14:27 UTC 2015
Date: Thursday, February 26, 2015 @ 14:14:27
Author: alucryd
Revision: 128255
upgpkg: lightdm-gtk-greeter 1:2.0.0-1
Modified:
lightdm-gtk-greeter/trunk/PKGBUILD
----------+
PKGBUILD | 61 +++++++++++++++++++++----------------------------------------
1 file changed, 21 insertions(+), 40 deletions(-)
Modified: PKGBUILD
===================================================================
--- PKGBUILD 2015-02-26 13:12:29 UTC (rev 128254)
+++ PKGBUILD 2015-02-26 13:14:27 UTC (rev 128255)
@@ -2,9 +2,8 @@
# Maintainer: Maxime Gauduin <alucrydarchlinux.org>
# Contributor: Padfoot <padfoot at exemail.com.au>
-pkgbase=lightdm-gtk-greeter
-pkgname=('lightdm-gtk2-greeter' 'lightdm-gtk3-greeter')
-pkgver=1.8.6
+pkgname=lightdm-gtk-greeter
+pkgver=2.0.0
pkgrel=1
epoch=1
pkgdesc='GTK+ greeter for LightDM'
@@ -11,52 +10,34 @@
arch=('i686' 'x86_64')
url='https://launchpad.net/lightdm-gtk-greeter'
license=('GPL3' 'LGPL3')
-makedepends=('bzr' 'exo' 'gnome-common' 'gnome-doc-utils'
- 'gobject-introspection' 'gtk2' 'gtk3' 'intltool' 'lightdm')
+depends=('gtk3' 'lightdm')
+makedepends=('gnome-common' 'gnome-doc-utils' 'gobject-introspection'
+ 'intltool')
+replaces=('lightdm-gtk3-greeter')
backup=('etc/lightdm/lightdm-gtk-greeter.conf')
install='lightdm-gtk-greeter.install'
-source=('bzr+lp:lightdm-gtk-greeter#revision=299')
-sha256sums=('SKIP')
+source=("https://launchpad.net/lightdm-gtk-greeter/${pkgver%.?}/${pkgver}/+download/lightdm-gtk-greeter-${pkgver}.tar.gz")
+sha256sums=('4c0a0121d1ec82c85c8aed4ad80ebd48ddc56d9bace31da72423bfd330c26484')
-prepare() {
- cp -r lightdm-gtk-greeter lightdm-gtk2-greeter
- mv lightdm-gtk-greeter lightdm-gtk3-greeter
-}
-
build() {
- cd lightdm-gtk2-greeter
+ cd lightdm-gtk-greeter-${pkgver}
- ./autogen.sh --prefix='/usr' --sbindir='/usr/bin' --sysconfdir='/etc' \
- --libexecdir='/usr/lib/lightdm' --disable-static --with-gtk2 \
- --with-libxklavier
- make
-
- cd ../lightdm-gtk3-greeter
-
- ./autogen.sh --prefix='/usr' --sbindir='/usr/bin' --sysconfdir='/etc' \
- --libexecdir='/usr/lib/lightdm' --disable-static \
- --with-libxklavier
- make
+ ./configure \
+ --prefix='/usr' \
+ --libexecdir='/usr/lib/lightdm' \
+ --sbindir='/usr/bin' \
+ --sysconfdir='/etc' \
+ --with-libxklavier \
+ --disable-libido \
+ --disable-libindicator \
+ --disable-static
+ make
}
-package_lightdm-gtk2-greeter() {
- depends=('gtk2' 'lightdm')
- provides=('lightdm-gtk-greeter')
- conflicts=('lightdm-gtk-greeter')
+package() {
+ cd lightdm-gtk-greeter-${pkgver}
- cd lightdm-gtk2-greeter
-
make DESTDIR="${pkgdir}" install
}
-package_lightdm-gtk3-greeter() {
- depends=('gtk3' 'lightdm')
- provides=('lightdm-gtk-greeter')
- conflicts=('lightdm-gtk-greeter')
-
- cd lightdm-gtk3-greeter
-
- make DESTDIR="${pkgdir}" install
-}
-
# vim: ts=2 sw=2 et:
More information about the arch-commits
mailing list