summaryrefslogtreecommitdiffstats
path: root/abs/extra-testing/libgtop
diff options
context:
space:
mode:
authorJames Meyer <james.meyer@operamail.com>2009-03-14 18:14:45 (GMT)
committerJames Meyer <james.meyer@operamail.com>2009-03-14 18:14:45 (GMT)
commitd1619a5abc60f3d9e7d3dad588ff1b92bb23e624 (patch)
tree48d339f8b0f3be940ac1b372c939f22377f983fd /abs/extra-testing/libgtop
parentc6d1a2299fae2c80be87634f38f6c61a7b8086e6 (diff)
downloadlinhes_pkgbuild-d1619a5abc60f3d9e7d3dad588ff1b92bb23e624.zip
linhes_pkgbuild-d1619a5abc60f3d9e7d3dad588ff1b92bb23e624.tar.gz
linhes_pkgbuild-d1619a5abc60f3d9e7d3dad588ff1b92bb23e624.tar.bz2
Missing makedepends for gnome-python-extras
enchant gdl gnome-doc-utils gtkspell hspell libgksu libgtkhtml libgtop
Diffstat (limited to 'abs/extra-testing/libgtop')
-rw-r--r--abs/extra-testing/libgtop/PKGBUILD28
-rw-r--r--abs/extra-testing/libgtop/libgtop.install13
2 files changed, 41 insertions, 0 deletions
diff --git a/abs/extra-testing/libgtop/PKGBUILD b/abs/extra-testing/libgtop/PKGBUILD
new file mode 100644
index 0000000..1cfd6c0
--- /dev/null
+++ b/abs/extra-testing/libgtop/PKGBUILD
@@ -0,0 +1,28 @@
+# $Id: PKGBUILD 24718 2009-01-20 09:57:05Z douglas $
+# Maintainer: Jan de Groot <jgc@archlinux.org>
+
+pkgname=libgtop
+pkgver=2.24.3
+pkgrel=1
+pkgdesc="A library that read information about processes and the running system"
+arch=(i686 x86_64)
+license=('LGPL')
+depends=('glib2>=2.18.4' 'libxau' 'texinfo')
+install=libgtop.install
+source=(http://ftp.gnome.org/pub/gnome/sources/${pkgname}/2.24/${pkgname}-${pkgver}.tar.bz2)
+options=('!libtool')
+url="http://www.gnome.org/"
+md5sums=('051de81fd37d33e7abee828fd4c12cba')
+
+build() {
+ cd "${srcdir}/${pkgname}-${pkgver}"
+ ./configure --prefix=/usr --sysconfdir=/etc \
+ --localstatedir=/var --disable-static \
+ --with-libgtop-smp --with-libgtop-inodedb \
+ --with-linux-table || return 1
+ make || return 1
+ make DESTDIR="${pkgdir}" install || return 1
+
+ rm -f "${pkgdir}/usr/share/info/dir"
+ gzip -9nf ${pkgdir}/usr/share/info/*
+}
diff --git a/abs/extra-testing/libgtop/libgtop.install b/abs/extra-testing/libgtop/libgtop.install
new file mode 100644
index 0000000..15690f1
--- /dev/null
+++ b/abs/extra-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
+}