diff options
author | Nicolas Reynolds <fauno@kiwwwi.com.ar> | 2011-11-24 11:07:35 -0300 |
---|---|---|
committer | Nicolas Reynolds <fauno@kiwwwi.com.ar> | 2011-11-24 11:07:35 -0300 |
commit | 8d32e471d53634b308adf93007922a6ccbd2b830 (patch) | |
tree | 606fdcd5508936ffdfc7cf510a16b7324c2792e2 /testing/htop/PKGBUILD | |
parent | 4c9d76f582ae64854e30113e7f7dc621af3db820 (diff) | |
parent | 1e1e4927b05d9b242bfe83794e3a98ab2c8f79ef (diff) |
Merge branch 'master' of ssh://vparabola/home/parabola/abslibre-pre-mips64el
Conflicts:
community/augeas/PKGBUILD
community/chmsee/PKGBUILD
community/cupsddk/PKGBUILD
community/optipng/PKGBUILD
community/pcb/PKGBUILD
community/taglib-rcc/PKGBUILD
community/wmctrl/PKGBUILD
extra/c-ares/PKGBUILD
multilib/lib32-freetype2/PKGBUILD
Diffstat (limited to 'testing/htop/PKGBUILD')
-rw-r--r-- | testing/htop/PKGBUILD | 38 |
1 files changed, 38 insertions, 0 deletions
diff --git a/testing/htop/PKGBUILD b/testing/htop/PKGBUILD new file mode 100644 index 000000000..8457c8f5a --- /dev/null +++ b/testing/htop/PKGBUILD @@ -0,0 +1,38 @@ +# $Id: PKGBUILD 143084 2011-11-22 15:51:43Z angvp $ +# Maintainer: Angel Velasquez <angvp@archlinux.org> +# Contributor: Eric Belanger <eric@archlinux.org> +# Contributor: Daniel J Griffiths <ghost1227@archlinux.us> + +pkgname=htop +pkgver=1.0 +pkgrel=1 +pkgdesc="Interactive process viewer" +arch=('i686' 'x86_64') +url="http://htop.sourceforge.net/" +license=('GPL') +depends=('ncurses') +makedepends=('python2') +optdepends=('lsof' 'strace') +options=('!emptydirs') +changelog=ChangeLog +source=(http://downloads.sourceforge.net/${pkgname}/${pkgname}-${pkgver}.tar.gz) +md5sums=('325112ca7947ea1f6d6441f631e00384') + +build() { + cd "${srcdir}/${pkgname}-${pkgver}" + + 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 \ + --enable-cgroup + make +} + +package() { + cd "${srcdir}/${pkgname}-${pkgver}" + make DESTDIR="${pkgdir}" install +} |