Date: Tuesday, September 20, 2016 @ 12:38:28
  Author: jgc
Revision: 276761

upgpkg: gnome-desktop 1:3.22.0+1+g1bf55b0-1

Modified:
  gnome-desktop/trunk/PKGBUILD

----------+
 PKGBUILD |   27 ++++++++++++++++++++-------
 1 file changed, 20 insertions(+), 7 deletions(-)

Modified: PKGBUILD
===================================================================
--- PKGBUILD    2016-09-20 12:32:09 UTC (rev 276760)
+++ PKGBUILD    2016-09-20 12:38:28 UTC (rev 276761)
@@ -2,7 +2,7 @@
 # Maintainer:  Jan de Groot <j...@archlinux.org>
 
 pkgname=gnome-desktop
-pkgver=3.20.2
+pkgver=3.22.0+1+g1bf55b0
 pkgrel=1
 epoch=1
 pkgdesc="Library with common API for various GNOME modules"
@@ -9,22 +9,35 @@
 arch=(i686 x86_64)
 license=(GPL LGPL)
 depends=(gsettings-desktop-schemas gtk3 libxkbfile xkeyboard-config iso-codes)
-makedepends=(intltool gobject-introspection itstool)
+makedepends=(intltool gobject-introspection git gnome-common gtk-doc)
 url="http://www.gnome.org";
 groups=(gnome)
-source=(https://download.gnome.org/sources/$pkgname/${pkgver:0:4}/$pkgname-$pkgver.tar.xz)
-sha256sums=('492c2da7aa8c3a8b65796e8171fc8f0dfb5d322dd2799c0d76392e1fb061e2b2')
+_commit=1bf55b04e52f9337a6f0e91aded9b0e09bb4543f
+source=("git://git.gnome.org/gnome-desktop#commit=$_commit")
+sha256sums=('SKIP')
 
+pkgver() {
+  cd $pkgname
+  git describe --tags | sed 's/-/+/g'
+}
+
+prepare() {
+  cd $pkgname
+  NOCONFIGURE=1 ./autogen.sh
+}
+  
+
 build() {
-  cd $pkgname-$pkgver
+  cd $pkgname
   ./configure --prefix=/usr --sysconfdir=/etc --localstatedir=/var \
     --libexecdir=/usr/lib/$pkgname --disable-static \
-    --with-gnome-distributor="Arch Linux"
+    --with-gnome-distributor="Arch Linux" --enable-gtk-doc
+
   sed -i -e 's/ -shared / -Wl,-O1,--as-needed\0/g' libtool
   make
 }
 
 package() {
-  cd $pkgname-$pkgver
+  cd $pkgname
   make DESTDIR="$pkgdir" install
 }

Reply via email to