Date: Tuesday, September 27, 2016 @ 08:55:20 Author: jgc Revision: 277022
upgpkg: libgtop 2.34.1-1 Modified: libgtop/trunk/PKGBUILD ----------+ PKGBUILD | 29 ++++++++++++++++++++--------- 1 file changed, 20 insertions(+), 9 deletions(-) Modified: PKGBUILD =================================================================== --- PKGBUILD 2016-09-27 08:45:21 UTC (rev 277021) +++ PKGBUILD 2016-09-27 08:55:20 UTC (rev 277022) @@ -2,25 +2,36 @@ # Maintainer: Jan de Groot <j...@archlinux.org> pkgname=libgtop -pkgver=2.34.0 -pkgrel=2 +pkgver=2.34.1 +pkgrel=1 pkgdesc="A library that reads information about processes and the running system" arch=('i686' 'x86_64') license=('LGPL') -depends=('glib2' 'libxau' 'texinfo') -makedepends=('intltool' 'gobject-introspection') -source=(https://download.gnome.org/sources/${pkgname}/${pkgver:0:4}/${pkgname}-${pkgver}.tar.xz) +depends=('glib2' 'libxau') +makedepends=('gobject-introspection' gnome-common git gtk-doc) +_commit=71337d9c7dc32474ec738429bb9e331e368ebc7f +source=("git://git.gnome.org/libgtop#commit=$_commit") url="http://www.gnome.org/" -sha256sums=('8d8ae39e700d1c8c0b3e1391ed10ca88e6fc14f49d175d516dab6e3313b4ee2a') +sha256sums=('SKIP') +pkgver() { + cd $pkgname + git describe --tags | sed 's/-/+/g' +} + +prepare() { + cd $pkgname + NOCONFIGURE=1 ./autogen.sh +} + build() { - cd "${srcdir}/${pkgname}-${pkgver}" + cd "${srcdir}/$pkgname" ./configure --prefix=/usr --sysconfdir=/etc \ - --localstatedir=/var --disable-static + --localstatedir=/var --disable-static --enable-gtk-doc make } package() { - cd "${srcdir}/${pkgname}-${pkgver}" + cd "${srcdir}/$pkgname" make DESTDIR="${pkgdir}" install }