Date: Tuesday, September 20, 2016 @ 14:51:12
  Author: jgc
Revision: 276766

upgpkg: gnome-color-manager 3.22.0+2+ga40fab0-1

Modified:
  gnome-color-manager/trunk/PKGBUILD

----------+
 PKGBUILD |   26 +++++++++++++++++++-------
 1 file changed, 19 insertions(+), 7 deletions(-)

Modified: PKGBUILD
===================================================================
--- PKGBUILD    2016-09-20 14:39:55 UTC (rev 276765)
+++ PKGBUILD    2016-09-20 14:51:12 UTC (rev 276766)
@@ -2,22 +2,34 @@
 # Maintainer: Jan Alexander Steffens (heftig) <jan.steff...@gmail.com>
 
 pkgname=gnome-color-manager
-pkgver=3.20.0
-pkgrel=2
+pkgver=3.22.0+2+ga40fab0
+pkgrel=1
 pkgdesc="GNOME Color Profile Tools"
 arch=(i686 x86_64)
 url="https://git.gnome.org/browse/gnome-color-manager";
 license=(GPL2)
 depends=(libcanberra vte3 exiv2 shared-color-targets colord-gtk libexif)
-makedepends=(intltool yelp-tools)
+makedepends=(intltool yelp-tools git gnome-common appstream-glib)
 optdepends=('argyllcms: color calibration')
 options=('!emptydirs')
 groups=('gnome-extra')
-source=(http://ftp.gnome.org/pub/GNOME/sources/$pkgname/${pkgver:0:4}/$pkgname-$pkgver.tar.xz)
-sha256sums=('fc4b8b075e79c1633ad935fb42e2aa06bf31a3e7e15360c705c771366e540793')
+_commit=a40fab0ea66f4e8a1de892f46d595f5f2921ea57
+source=("git://git.gnome.org/gnome-color-manager#commit=$_commit")
+sha256sums=('SKIP')
 
+pkgver() {
+  cd $pkgname
+  git describe --tags | sed -e 's/GNOME_COLOR_MANAGER_//' -e 's/_/\./g' -e 
's/-/+/g'
+}
+
+prepare() {
+  cd $pkgname
+  NOCONFIGURE=1 ./autogen.sh
+}
+  
+
 build(){
-  cd $pkgname-$pkgver
+  cd $pkgname
 
   # man pages need docbook-sgml, which we don't have
   ./configure --prefix=/usr --sysconfdir=/etc --localstatedir=/var \
@@ -28,6 +40,6 @@
 }
 
 package() {
-  cd $pkgname-$pkgver
+  cd $pkgname
   make DESTDIR="$pkgdir" install
 }

Reply via email to