[arch-commits] Commit in lightdm-gtk-greeter/trunk (PKGBUILD)

Maxime Gauduin alucryd at archlinux.org
Sat Jul 4 16:11:48 UTC 2020


    Date: Saturday, July 4, 2020 @ 16:11:47
  Author: alucryd
Revision: 390838

upgpkg: lightdm-gtk-greeter 1:2.0.8-1

Modified:
  lightdm-gtk-greeter/trunk/PKGBUILD

----------+
 PKGBUILD |   33 ++++++++++++++++++++++-----------
 1 file changed, 22 insertions(+), 11 deletions(-)

Modified: PKGBUILD
===================================================================
--- PKGBUILD	2020-07-04 15:32:37 UTC (rev 390837)
+++ PKGBUILD	2020-07-04 16:11:47 UTC (rev 390838)
@@ -2,12 +2,12 @@
 # Contributor: Padfoot <padfoot at exemail.com.au>
 
 pkgname=lightdm-gtk-greeter
-pkgver=2.0.7
-pkgrel=2
+pkgver=2.0.8
+pkgrel=1
 epoch=1
 pkgdesc='GTK+ greeter for LightDM'
 arch=(x86_64)
-url=https://launchpad.net/lightdm-gtk-greeter
+url=https://github.com/Xubuntu/lightdm-gtk-greeter
 license=(
   GPL3
   LGPL3
@@ -18,18 +18,31 @@
 )
 makedepends=(
   exo
+  git
   gobject-introspection
   intltool
+  xfce4-dev-tools
 )
 backup=(etc/lightdm/lightdm-gtk-greeter.conf)
-source=(https://launchpad.net/lightdm-gtk-greeter/${pkgver%.?}/${pkgver}/+download/lightdm-gtk-greeter-${pkgver}.tar.gz)
-sha256sums=('bae293f21286e93113ee7965a3a8734bbee6b94f3c74d8723dcae13dda60fcbc')
+_tag=8008f297f7d0b34b875a837d41f77cf57e7b3f7c
+source=(git+https://github.com/Xubuntu/lightdm-gtk-greeter.git#tag=${_tag})
+sha256sums=(SKIP)
 
+pkgver() {
+  cd lightdm-gtk-greeter
+
+  git describe --tags | sed 's/^lightdm-gtk-greeter-//'
+}
+
+prepare() {
+  cd lightdm-gtk-greeter
+
+  NOCONFIGURE=1 ./autogen.sh
+}
+
 build() {
-  cd lightdm-gtk-greeter-${pkgver}
+  cd lightdm-gtk-greeter
 
-  export CFLAGS="$CFLAGS -Wno-declaration-after-statement"
-
   ./configure \
     --prefix=/usr \
     --libexecdir=/usr/lib/lightdm \
@@ -44,9 +57,7 @@
 }
 
 package() {
-  cd lightdm-gtk-greeter-${pkgver}
-
-  make DESTDIR="${pkgdir}" install
+  make DESTDIR="${pkgdir}" -C lightdm-gtk-greeter install
 }
 
 # vim: ts=2 sw=2 et:



More information about the arch-commits mailing list