[arch-commits] Commit in htop/trunk (PKGBUILD)

Angel Velásquez angvp at archlinux.org
Thu Jan 6 20:57:14 UTC 2011


    Date: Thursday, January 6, 2011 @ 15:57:13
  Author: angvp
Revision: 105144

upgpkg: htop 0.9-1
Updating to 0.9.1

Modified:
  htop/trunk/PKGBUILD

----------+
 PKGBUILD |   15 ++++++++-------
 1 file changed, 8 insertions(+), 7 deletions(-)

Modified: PKGBUILD
===================================================================
--- PKGBUILD	2011-01-06 20:29:33 UTC (rev 105143)
+++ PKGBUILD	2011-01-06 20:57:13 UTC (rev 105144)
@@ -3,27 +3,28 @@
 # Maintainer: Daniel J Griffiths <ghost1227 at archlinux.us>
 
 pkgname=htop
-pkgver=0.8.3
+pkgver=0.9
 pkgrel=1
 pkgdesc="Interactive process viewer"
 arch=('i686' 'x86_64')
 url="http://htop.sourceforge.net/"
 license=('GPL')
 depends=('ncurses')
+makedepends=('python2')
 options=('!emptydirs')
 source=(http://downloads.sourceforge.net/htop/${pkgname}-${pkgver}.tar.gz)
-md5sums=('5c9f093f9eaddf6e77aa6d54c2116d0c')
-sha1sums=('2a0bf90f160b3d019e26712c94db612d6ff9a429')
+md5sums=('7c5507f35f363f3f40183a2ba3c561f8')
 
 build() {
 	cd ${srcdir}/${pkgname}-${pkgver}
-	sed -i 's|ncursesw/curses.h|curses.h|' RichString.h RichString.c || return 1
+	sed -i 's|ncursesw/curses.h|curses.h|' RichString.h RichString.c configure 
+	sed -i 's|python|python2|' scripts/MakeHeader.py
 	./configure --prefix=/usr --enable-unicode --enable-openvz \
-	    --enable-vserver || return 1
-	make || return 1
+	    --enable-vserver 
+	make 
 }
 
 package() {
 	cd ${srcdir}/${pkgname}-${pkgver}
-	make DESTDIR=${pkgdir} install || return 1
+	make DESTDIR=${pkgdir} install 
 }




More information about the arch-commits mailing list