# $Id: PKGBUILD 198177 2013-10-30 13:16:35Z allan $ # Maintainer: Jan de Groot pkgname=libgtop pkgver=2.28.5 pkgrel=1 pkgdesc="A library that read information about processes and the running system" arch=('i686' 'x86_64') license=('LGPL') depends=('glib2' 'libxau' 'texinfo') makedepends=('intltool' 'gobject-introspection') install=libgtop.install source=(http://ftp.gnome.org/pub/gnome/sources/${pkgname}/2.28/${pkgname}-${pkgver}.tar.xz) url="http://www.gnome.org/" sha256sums=('c812c174e44a8971a1f33265437cfd10f1e99869c7f5c05f8ee95846a70a3342') build() { cd "${srcdir}/${pkgname}-${pkgver}" ./configure --prefix=/usr --sysconfdir=/etc \ --localstatedir=/var --disable-static \ --with-libgtop-smp make } package() { cd "${srcdir}/${pkgname}-${pkgver}" make DESTDIR="${pkgdir}" install }