[arch-commits] Commit in libgtop/repos/gnome-i686 (PKGBUILD libgtop.install)

Jan de Groot jgc at archlinux.org
Sun Aug 24 01:11:38 EDT 2008


    Date: Sunday, August 24, 2008 @ 01:11:38
  Author: jgc
Revision: 10108

libgtop 2.23.90 - GNOME 2.23.90

Added:
  libgtop/repos/gnome-i686/libgtop.install
Modified:
  libgtop/repos/gnome-i686/PKGBUILD

-----------------+
 PKGBUILD        |   12 ++++++++----
 libgtop.install |   13 +++++++++++++
 2 files changed, 21 insertions(+), 4 deletions(-)

Modified: PKGBUILD
===================================================================
--- PKGBUILD	2008-08-24 05:00:01 UTC (rev 10107)
+++ PKGBUILD	2008-08-24 05:11:38 UTC (rev 10108)
@@ -2,16 +2,17 @@
 # Maintainer: Jan de Groot <jgc at archlinux.org>
 
 pkgname=libgtop
-pkgver=2.22.3
+pkgver=2.23.90
 pkgrel=1
 pkgdesc="A library that read information about processes and the running system"
 arch=(i686 x86_64)
 license=('LGPL')
-depends=('glib2>=2.16.4' 'libxau')
-source=(http://ftp.gnome.org/pub/gnome/sources/${pkgname}/2.22/${pkgname}-${pkgver}.tar.bz2)
+depends=('glib2>=2.17.7' 'libxau')
+install=libgtop.install
+source=(http://ftp.gnome.org/pub/gnome/sources/${pkgname}/2.23/${pkgname}-${pkgver}.tar.bz2)
 options=('!libtool')
 url="http://www.gnome.org/"
-md5sums=('57764ad246ceb959f601505aa2364f1f')
+md5sums=('2796d6461fd4501387ac1609d0b08575')
 
 build() {
   cd ${startdir}/src/${pkgname}-${pkgver}
@@ -21,4 +22,7 @@
 	      --with-linux-table || return 1
   make || return 1
   make DESTDIR=${startdir}/pkg install || return 1
+
+  rm -f ${pkgdir}/usr/share/info/dir
+  gzip -9nf ${pkgdir}/usr/share/info/*
 }

Added: libgtop.install
===================================================================
--- libgtop.install	                        (rev 0)
+++ libgtop.install	2008-08-24 05:11:38 UTC (rev 10108)
@@ -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
+}




More information about the arch-commits mailing list