diff options
Diffstat (limited to 'testing/libgtop')
-rw-r--r-- | testing/libgtop/PKGBUILD | 29 | ||||
-rw-r--r-- | testing/libgtop/libgtop.install | 13 |
2 files changed, 42 insertions, 0 deletions
diff --git a/testing/libgtop/PKGBUILD b/testing/libgtop/PKGBUILD new file mode 100644 index 000000000..889f6e279 --- /dev/null +++ b/testing/libgtop/PKGBUILD @@ -0,0 +1,29 @@ +# $Id: PKGBUILD 120401 2011-04-23 20:45:46Z ibiru $ +# Maintainer: Jan de Groot <jgc@archlinux.org> + +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 +} diff --git a/testing/libgtop/libgtop.install b/testing/libgtop/libgtop.install new file mode 100644 index 000000000..15690f125 --- /dev/null +++ b/testing/libgtop/libgtop.install @@ -0,0 +1,13 @@ +info_dir=/usr/share/info + +post_install() { + install-info ${info_dir}/libgtop2.info.gz ${info_dir}/dir 2> /dev/null +} + +post_upgrade() { + post_install $1 +} + +pre_remove() { + install-info --delete ${info_dir}/libgtop2.info.gz ${info_dir}/dir 2> /dev/null +} |