Date: Tuesday, September 20, 2016 @ 21:52:22
  Author: jgc
Revision: 276778

upgpkg: libmediaart 1.9.0+8+g52eb649-1

Modified:
  libmediaart/trunk/PKGBUILD

----------+
 PKGBUILD |   25 ++++++++++++++++++-------
 1 file changed, 18 insertions(+), 7 deletions(-)

Modified: PKGBUILD
===================================================================
--- PKGBUILD    2016-09-20 21:48:46 UTC (rev 276777)
+++ PKGBUILD    2016-09-20 21:52:22 UTC (rev 276778)
@@ -2,24 +2,35 @@
 # Maintainer: Jan de Groot <j...@archlinux.org>
 
 pkgname=libmediaart
-pkgver=1.9.0
+pkgver=1.9.0+8+g52eb649
 pkgrel=1
 pkgdesc="Library tasked with managing, extracting and handling media art 
caches"
 arch=('i686' 'x86_64')
 license=('LGPL')
 depends=('gdk-pixbuf2')
-makedepends=('vala' 'gobject-introspection')
+makedepends=('vala' 'gobject-introspection' 'git' 'gtk-doc')
 url="https://github.com/curlybeast/libmediaart";
-source=(https://download.gnome.org/sources/$pkgname/${pkgver:0:3}/$pkgname-$pkgver.tar.xz)
-sha256sums=('94668adb29d4dc3115b0fd105942ebd5ca6f5f9dbb2afa8a191a73a747dd506f')
+_commit=52eb6498c97ce0005186946bc9162d87597abc2c
+source=("git://git.gnome.org/libmediaart#commit=$_commit")
+sha256sums=('SKIP')
 
+pkgver() {
+  cd $pkgname
+  git describe --tags | sed 's/-/+/g'
+}
+
+prepare() {
+  cd $pkgname
+  NOCONFIGURE=1 ./autogen.sh
+}
+
 build() {
-  cd $pkgname-$pkgver
-  ./configure --prefix=/usr --disable-static --enable-gdkpixbuf --disable-qt
+  cd $pkgname
+  ./configure --prefix=/usr --disable-static --enable-gdkpixbuf --disable-qt 
--enable-gtk-doc
   make
 }
 
 package() {
-  cd $pkgname-$pkgver
+  cd $pkgname
   make DESTDIR="$pkgdir" install
 }

Reply via email to