Date: Tuesday, September 20, 2016 @ 12:26:34
  Author: jgc
Revision: 276757

upgpkg: gsettings-desktop-schemas 3.22.0+1+g6f52ab5-1

Modified:
  gsettings-desktop-schemas/trunk/PKGBUILD

----------+
 PKGBUILD |   23 +++++++++++++++++------
 1 file changed, 17 insertions(+), 6 deletions(-)

Modified: PKGBUILD
===================================================================
--- PKGBUILD    2016-09-20 12:23:18 UTC (rev 276756)
+++ PKGBUILD    2016-09-20 12:26:34 UTC (rev 276757)
@@ -4,7 +4,7 @@
 # Contributor: Adam Hani Schakaki (krzd) <k...@krzd.net>
 
 pkgname=gsettings-desktop-schemas
-pkgver=3.21.4
+pkgver=3.22.0+1+g6f52ab5
 pkgrel=1
 pkgdesc="Shared GSettings schemas for the desktop"
 arch=(any)
@@ -11,12 +11,23 @@
 url="https://www.gnome.org/";
 license=(GPL)
 depends=(glib2)
-makedepends=(intltool gobject-introspection)
-source=(https://download.gnome.org/sources/$pkgname/${pkgver:0:4}/$pkgname-$pkgver.tar.xz)
-sha256sums=('6d195bfe8d4af56b2cfb46417473ecad6e41b7254ff226bb9d20c8944310c15f')
+makedepends=(intltool gobject-introspection git gnome-common)
+_commit=6f52ab56bcf02c4a7315e433e30f45f106f31c3f
+source=("git://git.gnome.org/gsettings-desktop-schemas#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 \
     --disable-schemas-compile
   make
@@ -23,6 +34,6 @@
 }
 
 package() {
-  cd $pkgname-$pkgver
+  cd $pkgname
   make DESTDIR="$pkgdir" install
 }

Reply via email to