Date: Thursday, September 22, 2016 @ 08:42:10 Author: jgc Revision: 276822
upgpkg: libgdata 0.17.6-1 Modified: libgdata/trunk/PKGBUILD ----------+ PKGBUILD | 27 ++++++++++++++++++++------- 1 file changed, 20 insertions(+), 7 deletions(-) Modified: PKGBUILD =================================================================== --- PKGBUILD 2016-09-22 08:12:54 UTC (rev 276821) +++ PKGBUILD 2016-09-22 08:42:10 UTC (rev 276822) @@ -2,24 +2,37 @@ # Maintainer: Jan de Groot <j...@archlinux.org> pkgname=libgdata -pkgver=0.17.5 +pkgver=0.17.6 pkgrel=1 pkgdesc="GLib-based library for accessing online service APIs using the GData protocol" arch=('i686' 'x86_64') license=('GPL') depends=('libsoup' 'liboauth' 'gcr' 'gnome-online-accounts') -makedepends=('intltool' 'gobject-introspection' 'vala' 'uhttpmock') +makedepends=('intltool' 'gobject-introspection' 'vala' 'uhttpmock' 'git' 'gtk-doc' 'autoconf-archive') url="http://www.gnome.org" -source=(https://download.gnome.org/sources/$pkgname/${pkgver:0:4}/$pkgname-$pkgver.tar.xz) -sha256sums=('b3fbdae075aa0d83897ae0e9daf3c29075dce1724c8b8a27e0735688756355e8') +_commit=17aeee7598a896603d7037066c7ac90b1ef87cd9 +source=("git://git.gnome.org/libgdata#commit=$_commit") +sha256sums=('SKIP') +pkgver() { + cd $pkgname + git describe --tags | sed -e 's/-/+/g' +} + +prepare() { + cd $pkgname + NOCONFIGURE=1 ./autogen.sh +} + + build() { - cd "$pkgname-$pkgver" - ./configure --prefix=/usr --disable-static --disable-tests + cd $pkgname + ./configure --prefix=/usr --disable-static --enable-gtk-doc + sed -i -e 's/ -shared / -Wl,-O1,--as-needed\0/g' libtool make } package() { - cd "$pkgname-$pkgver" + cd $pkgname make DESTDIR="$pkgdir" install }