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

Dave Reisner dreisner at archlinux.org
Wed Nov 7 01:24:59 UTC 2012


    Date: Tuesday, November 6, 2012 @ 20:24:59
  Author: dreisner
Revision: 170396

upgpkg: htop 1.0.2-1

- cleanup PKGBUILD, remove ChangeLog

Modified:
  htop/trunk/PKGBUILD
Deleted:
  htop/trunk/ChangeLog

-----------+
 ChangeLog |   25 -------------------------
 PKGBUILD  |   27 ++++++++++++++-------------
 2 files changed, 14 insertions(+), 38 deletions(-)

Deleted: ChangeLog
===================================================================
--- ChangeLog	2012-11-07 01:09:27 UTC (rev 170395)
+++ ChangeLog	2012-11-07 01:24:59 UTC (rev 170396)
@@ -1,25 +0,0 @@
-2012-02-19  Angel Velasquez <angvp at archlinux.org>
-	* Version bump to 1.0.1
-
-2011-10-19  Andrea Scarpino <andrea at archlinux.org>
-    * Enable cgroup support (FS#26155)
-    * Add lsof and strace optional depends (FS#25778)
-    * Fix crash when column is less than 40 (closes FS#25823)
-
-2011-05-17  Angel Velasquez <angvp at archlinux.org>
-	* Added patch to fix --sort-key (closes FS#23224)
-
-2009-09-21  Eric Belanger  <eric at archlinux.org>
-
-	* htop 0.8.3-1
-	* Upstream update
-	* Built with vserver and openvz support (close FS#12755)
-
-2008-12-09  Alexander Fehr  <pizzapunk gmail com>
-
-	* htop-0.8.1-1:
-	* New upstream release
-	* New maintainer
-	* Added patch to fix FS#12235
-	* Enabled Unicode support
-	* Added ChangeLog

Modified: PKGBUILD
===================================================================
--- PKGBUILD	2012-11-07 01:09:27 UTC (rev 170395)
+++ PKGBUILD	2012-11-07 01:24:59 UTC (rev 170396)
@@ -4,7 +4,7 @@
 # Contributor: Daniel J Griffiths <ghost1227 at archlinux.us>
 
 pkgname=htop
-pkgver=1.0.1
+pkgver=1.0.2
 pkgrel=1
 pkgdesc="Interactive process viewer"
 arch=('i686' 'x86_64')
@@ -12,27 +12,28 @@
 license=('GPL')
 depends=('ncurses')
 makedepends=('python2')
-optdepends=('lsof' 'strace')
+optdepends=('lsof: show files opened by a process'
+            'strace: attach to a running process')
 options=('!emptydirs')
-changelog=ChangeLog
-source=(http://downloads.sourceforge.net/${pkgname}/${pkgname}-${pkgver}.tar.gz)
-md5sums=('d3b80d905a6bff03f13896870787f901')
+source=("http://downloads.sourceforge.net/$pkgname/$pkgname-$pkgver.tar.gz")
+md5sums=('0d01cca8df3349c74569cefebbd9919e')
 
 build() {
-	cd "${srcdir}/${pkgname}-${pkgver}"
+  cd "$pkgname-$pkgver"
 
-	sed -i 's|ncursesw/curses.h|curses.h|' RichString.h RichString.c configure 
-	sed -i 's|python|python2|' scripts/MakeHeader.py
+  sed -i 's|ncursesw/curses.h|curses.h|' RichString.[ch] configure
+  sed -i 's|python|python2|' scripts/MakeHeader.py
 
-	./configure --prefix=/usr \
+  ./configure \
+      --prefix=/usr \
       --enable-unicode \
       --enable-openvz \
-	  --enable-vserver \
+      --enable-vserver \
       --enable-cgroup
-	make 
+
+  make
 }
 
 package() {
-	cd "${srcdir}/${pkgname}-${pkgver}"
-	make DESTDIR="${pkgdir}" install 
+  make -C "$pkgname-$pkgver" DESTDIR="$pkgdir" install
 }




More information about the arch-commits mailing list