# $Id: PKGBUILD 120401 2011-04-23 20:45:46Z ibiru $ # Maintainer: Jan de Groot pkgname=libgtop pkgver=2.28.3 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.bz2) options=('!libtool') url="http://www.gnome.org/" sha256sums=('2c866bd14b3cd78f78504cfb65baa105d62b8085c90e433ab9db97e050efea42') 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 }