[arch-commits] Commit in gdk-pixbuf2/trunk (PKGBUILD)

Jan de Groot jgc at archlinux.org
Mon Sep 19 12:33:23 UTC 2016


    Date: Monday, September 19, 2016 @ 12:33:23
  Author: jgc
Revision: 276701

upgpkg: gdk-pixbuf2 2.34.0-1

Modified:
  gdk-pixbuf2/trunk/PKGBUILD

----------+
 PKGBUILD |   21 ++++++++++++++++-----
 1 file changed, 16 insertions(+), 5 deletions(-)

Modified: PKGBUILD
===================================================================
--- PKGBUILD	2016-09-19 12:29:40 UTC (rev 276700)
+++ PKGBUILD	2016-09-19 12:33:23 UTC (rev 276701)
@@ -3,7 +3,7 @@
 
 pkgname=gdk-pixbuf2
 pkgver=2.34.0
-pkgrel=2
+pkgrel=1
 pkgdesc="An image loading library"
 arch=('i686' 'x86_64')
 url="http://www.gtk.org/"
@@ -11,13 +11,24 @@
 depends=('glib2' 'libpng' 'libtiff' 'libjpeg' 'libx11' 'jasper')
 makedepends=('gtk-doc' 'gobject-introspection')
 install=gdk-pixbuf2.install
-source=(http://download.gnome.org/sources/gdk-pixbuf/${pkgver:0:4}/gdk-pixbuf-$pkgver.tar.xz
+_commit=083c152f41996ba92cbb6616ed0b1fe51bb9b92c
+source=("git://git.gnome.org/gdk-pixbuf#commit=$_commit"
         gdk-pixbuf-query-loaders.hook)
-sha256sums=('d55e5b383ee219bd0e23bf6ed4427d56a7db5379729a6e3e0a0e0eba9a8d8879'
+sha256sums=('SKIP'
             '963afcfacde9fd36031d93c8aa4c94a669ab1dbe9ba0d2cf17599b7d358e54c2')
 
+pkgver() {
+  cd gdk-pixbuf
+  git describe --tags | sed 's/-/+/g'
+}
+
+prepare() {
+  cd gdk-pixbuf
+  NOCONFIGURE=1 ./autogen.sh
+}
+  
 build() {
-    cd gdk-pixbuf-$pkgver
+    cd gdk-pixbuf
     ./configure --prefix=/usr \
         --with-x11 \
         --with-libjasper \
@@ -27,7 +38,7 @@
 }
 
 package() {
-    cd gdk-pixbuf-$pkgver
+    cd gdk-pixbuf
     make DESTDIR="$pkgdir" install
     install -Dm644 ../gdk-pixbuf-query-loaders.hook "$pkgdir/usr/share/libalpm/hooks/gdk-pixbuf-query-loaders.hook"
 }



More information about the arch-commits mailing list