[arch-commits] Commit in htop/repos (4 files)
Evangelos Foutras
foutrelis at archlinux.org
Mon Sep 7 14:06:53 UTC 2015
Date: Monday, September 7, 2015 @ 16:06:53
Author: foutrelis
Revision: 245463
archrelease: copy trunk to staging-i686, staging-x86_64
Added:
htop/repos/staging-i686/
htop/repos/staging-i686/PKGBUILD
(from rev 245462, htop/trunk/PKGBUILD)
htop/repos/staging-x86_64/
htop/repos/staging-x86_64/PKGBUILD
(from rev 245462, htop/trunk/PKGBUILD)
-------------------------+
staging-i686/PKGBUILD | 44 ++++++++++++++++++++++++++++++++++++++++++++
staging-x86_64/PKGBUILD | 44 ++++++++++++++++++++++++++++++++++++++++++++
2 files changed, 88 insertions(+)
Copied: htop/repos/staging-i686/PKGBUILD (from rev 245462, htop/trunk/PKGBUILD)
===================================================================
--- staging-i686/PKGBUILD (rev 0)
+++ staging-i686/PKGBUILD 2015-09-07 14:06:53 UTC (rev 245463)
@@ -0,0 +1,44 @@
+# $Id$
+# Maintainer: Angel Velasquez <angvp at archlinux.org>
+# Contributor: Eric Belanger <eric at archlinux.org>
+# Contributor: Daniel J Griffiths <ghost1227 at archlinux.us>
+
+pkgname=htop
+pkgver=1.0.3
+pkgrel=3
+pkgdesc="Interactive process viewer"
+arch=('i686' 'x86_64')
+url="http://htop.sourceforge.net/"
+license=('GPL')
+depends=('ncurses')
+makedepends=('python2')
+optdepends=('lsof: show files opened by a process'
+ 'strace: attach to a running process')
+options=('!emptydirs')
+source=("http://hisham.hm/$pkgname/releases/$pkgver/$pkgname-$pkgver.tar.gz")
+md5sums=('e768b9b55c033d9c1dffda72db3a6ac7')
+
+prepare() {
+ cd "$pkgname-$pkgver"
+
+ sed -i 's|ncursesw/curses.h|curses.h|' RichString.[ch] configure
+ sed -i 's|python|python2|' scripts/MakeHeader.py
+}
+
+build() {
+ cd "$pkgname-$pkgver"
+
+ ./configure \
+ --prefix=/usr \
+ --enable-unicode \
+ --enable-openvz \
+ --enable-vserver \
+ --enable-cgroup \
+ --enable-oom
+
+ make
+}
+
+package() {
+ make -C "$pkgname-$pkgver" DESTDIR="$pkgdir" install
+}
Copied: htop/repos/staging-x86_64/PKGBUILD (from rev 245462, htop/trunk/PKGBUILD)
===================================================================
--- staging-x86_64/PKGBUILD (rev 0)
+++ staging-x86_64/PKGBUILD 2015-09-07 14:06:53 UTC (rev 245463)
@@ -0,0 +1,44 @@
+# $Id$
+# Maintainer: Angel Velasquez <angvp at archlinux.org>
+# Contributor: Eric Belanger <eric at archlinux.org>
+# Contributor: Daniel J Griffiths <ghost1227 at archlinux.us>
+
+pkgname=htop
+pkgver=1.0.3
+pkgrel=3
+pkgdesc="Interactive process viewer"
+arch=('i686' 'x86_64')
+url="http://htop.sourceforge.net/"
+license=('GPL')
+depends=('ncurses')
+makedepends=('python2')
+optdepends=('lsof: show files opened by a process'
+ 'strace: attach to a running process')
+options=('!emptydirs')
+source=("http://hisham.hm/$pkgname/releases/$pkgver/$pkgname-$pkgver.tar.gz")
+md5sums=('e768b9b55c033d9c1dffda72db3a6ac7')
+
+prepare() {
+ cd "$pkgname-$pkgver"
+
+ sed -i 's|ncursesw/curses.h|curses.h|' RichString.[ch] configure
+ sed -i 's|python|python2|' scripts/MakeHeader.py
+}
+
+build() {
+ cd "$pkgname-$pkgver"
+
+ ./configure \
+ --prefix=/usr \
+ --enable-unicode \
+ --enable-openvz \
+ --enable-vserver \
+ --enable-cgroup \
+ --enable-oom
+
+ make
+}
+
+package() {
+ make -C "$pkgname-$pkgver" DESTDIR="$pkgdir" install
+}
More information about the arch-commits
mailing list