Date: Tuesday, September 20, 2016 @ 11:51:54
  Author: jgc
Revision: 276745

upgpkg: gcab 0.7+7+g71da703-1

Modified:
  gcab/trunk/PKGBUILD   (contents, properties)

----------+
 PKGBUILD |   29 ++++++++++++++++++++---------
 1 file changed, 20 insertions(+), 9 deletions(-)

Modified: PKGBUILD
===================================================================
--- PKGBUILD    2016-09-20 11:43:38 UTC (rev 276744)
+++ PKGBUILD    2016-09-20 11:51:54 UTC (rev 276745)
@@ -1,25 +1,36 @@
-# $Id: $
+# $Id$
 # Maintainer: Jan de Groot <j...@archlinux.org>
 
 pkgname=gcab
-pkgver=0.7
+pkgver=0.7+7+g71da703
 pkgrel=1
 pkgdesc="A GObject library to create cabinet files"
 arch=('i686' 'x86_64')
 license=('LGPL')
+url="https://wiki.gnome.org/msitools";
 depends=('glib2')
-makedepends=('intltool')
-source=(https://download.gnome.org/sources/${pkgname}/${pkgver}/${pkgname}-${pkgver}.tar.xz)
-url="http://www.gnome.org/";
-sha256sums=('a16e5ef88f1c547c6c8c05962f684ec127e078d302549f3dfd2291e167d4adef')
+makedepends=('gobject-introspection' 'vala' 'zlib' 'git' 'gtk-doc' 'intltool')
+_commit=71da7035108eb7b1da72ff8d318432fa3bc0af58
+source=("git://git.gnome.org/gcab#commit=$_commit")
+sha256sums=('SKIP')
 
+pkgver() {
+  cd $pkgname
+  git describe --tags | sed -e 's/^v//' -e 's/-/+/g'
+}
+
+prepare() {
+  cd $pkgname
+  NOCONFIGURE=1 ./autogen.sh
+}
+
 build() {
-  cd ${pkgname}-${pkgver}
-  ./configure --prefix=/usr
+  cd $pkgname
+  ./configure --prefix=/usr --enable-gtk-doc
   make
 }
 
 package() {
-  cd ${pkgname}-${pkgver}
+  cd $pkgname
   make DESTDIR="${pkgdir}" install
 }


Property changes on: gcab/trunk/PKGBUILD
___________________________________________________________________
Added: svn:keywords
## -0,0 +1 ##
+Id
\ No newline at end of property

Reply via email to