Date: Monday, September 19, 2016 @ 12:07:17 Author: jgc Revision: 276697
upgpkg: gobject-introspection 1.49.2+2+g083c152-1 Modified: gobject-introspection/trunk/PKGBUILD ----------+ PKGBUILD | 25 ++++++++++++++++++------- 1 file changed, 18 insertions(+), 7 deletions(-) Modified: PKGBUILD =================================================================== --- PKGBUILD 2016-09-19 09:29:41 UTC (rev 276696) +++ PKGBUILD 2016-09-19 12:07:17 UTC (rev 276697) @@ -4,19 +4,30 @@ pkgbase=gobject-introspection pkgname=('gobject-introspection' 'gobject-introspection-runtime') pkgdesc="Introspection system for GObject-based libraries" -pkgver=1.48.0 +pkgver=1.49.2+2+g083c152 pkgrel=1 url="https://live.gnome.org/GObjectIntrospection" arch=('x86_64' 'i686') license=('LGPL' 'GPL') depends=('python' 'python-mako') -makedepends=('cairo') +makedepends=('cairo' 'git') options=('!emptydirs') -source=(https://download.gnome.org/sources/$pkgbase/${pkgver:0:4}/$pkgbase-$pkgver.tar.xz) -sha256sums=('fa275aaccdbfc91ec0bc9a6fd0562051acdba731e7d584b64a277fec60e75877') +_commit=083c152f41996ba92cbb6616ed0b1fe51bb9b92c +source=("git://git.gnome.org/gobject-introspection#commit=$_commit") +sha256sums=('SKIP') +pkgver() { + cd $pkgbase + git describe --tags | sed 's/-/+/g' +} + +prepare() { + cd $pkgbase + NOCONFIGURE=1 ./autogen.sh +} + build() { - cd $pkgbase-$pkgver + cd $pkgbase ./configure --prefix=/usr --disable-static --enable-doctool sed -i -e 's/ -shared / -Wl,-O1,--as-needed\0/g' libtool make @@ -25,7 +36,7 @@ package_gobject-introspection-runtime() { pkgdesc+=" - runtime files" depends=('glib2') - cd $pkgbase-$pkgver + cd $pkgbase make DESTDIR="$pkgdir" install-libLTLIBRARIES install-typelibsDATA } @@ -32,7 +43,7 @@ package_gobject-introspection() { depends+=("gobject-introspection-runtime=$pkgver") - cd $pkgbase-$pkgver + cd $pkgbase make DESTDIR="$pkgdir" install make DESTDIR="$pkgdir" uninstall-libLTLIBRARIES uninstall-typelibsDATA }