[arch-commits] Commit in (4 files)

Maxime Gauduin alucryd at nymeria.archlinux.org
Wed Jul 2 08:51:19 UTC 2014


    Date: Wednesday, July 2, 2014 @ 10:51:19
  Author: alucryd
Revision: 114605

Make lightdm-gtk{2,3}-greeter a split PKGBUILD

Added:
  lightdm-gtk-greeter/
  lightdm-gtk-greeter/trunk/
  lightdm-gtk-greeter/trunk/PKGBUILD
  lightdm-gtk-greeter/trunk/lightdm-gtk-greeter.install

-----------------------------+
 PKGBUILD                    |   57 ++++++++++++++++++++++++++++++++++++++++++
 lightdm-gtk-greeter.install |   13 +++++++++
 2 files changed, 70 insertions(+)

Added: lightdm-gtk-greeter/trunk/PKGBUILD
===================================================================
--- lightdm-gtk-greeter/trunk/PKGBUILD	                        (rev 0)
+++ lightdm-gtk-greeter/trunk/PKGBUILD	2014-07-02 08:51:19 UTC (rev 114605)
@@ -0,0 +1,57 @@
+# $Id$
+# Maintainer: Maxime Gauduin <alucryd at gmail.com>
+# Contributor: Padfoot <padfoot at exemail.com.au>
+
+pkgbase=lightdm-gtk-greeter
+pkgname=('lightdm-gtk2-greeter' 'lightdm-gtk3-greeter')
+pkgver=1.8.5
+pkgrel=1
+epoch=1
+pkgdesc='GTK+ greeter for LightDM'
+arch=('i686' 'x86_64')
+url="https://launchpad.net/${pkgbase}"
+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')
+
+prepare() {
+  cp -r ${pkgbase}-${pkgver} lightdm-gtk2-greeter
+  mv ${pkgbase}-${pkgver} lightdm-gtk3-greeter
+}
+
+build() {
+  cd lightdm-gtk2-greeter
+
+  ./configure --prefix='/usr' --sbindir='/usr/bin' --sysconfdir='/etc' \
+              --libexecdir='/usr/lib/lightdm' --disable-static --with-gtk2
+    make
+
+  cd ../lightdm-gtk3-greeter
+
+  ./configure --prefix='/usr' --sbindir='/usr/bin' --sysconfdir='/etc' \
+              --libexecdir='/usr/lib/lightdm' --disable-static
+    make
+}
+
+package_lightdm-gtk2-greeter() {
+depends=('gtk2' 'lightdm')
+provides=("${pkgbase}")
+conflicts=("${pkgbase}")
+  cd lightdm-gtk2-greeter
+
+  make DESTDIR="${pkgdir}" install
+}
+
+package_lightdm-gtk3-greeter() {
+depends=('gtk3' 'lightdm')
+provides=("${pkgbase}")
+conflicts=("${pkgbase}")
+  cd lightdm-gtk3-greeter
+
+  make DESTDIR="${pkgdir}" install
+}
+
+# vim: ts=2 sw=2 et:


Property changes on: lightdm-gtk-greeter/trunk/PKGBUILD
___________________________________________________________________
Added: svn:executable
## -0,0 +1 ##
+*
\ No newline at end of property
Added: svn:keywords
## -0,0 +1 ##
+Id
\ No newline at end of property
Added: lightdm-gtk-greeter/trunk/lightdm-gtk-greeter.install
===================================================================
--- lightdm-gtk-greeter/trunk/lightdm-gtk-greeter.install	                        (rev 0)
+++ lightdm-gtk-greeter/trunk/lightdm-gtk-greeter.install	2014-07-02 08:51:19 UTC (rev 114605)
@@ -0,0 +1,13 @@
+post_install() {
+  gtk-update-icon-cache -ftq usr/share/icons/hicolor
+}
+
+post_update() {
+  post_install
+}
+
+post_remove() {
+  post_install
+}
+
+# vim: ts=2 sw=2 et:


Property changes on: lightdm-gtk-greeter/trunk/lightdm-gtk-greeter.install
___________________________________________________________________
Added: svn:executable
## -0,0 +1 ##
+*
\ No newline at end of property



More information about the arch-commits mailing list