From f0cfca0cebc8cabf4bd8b359abfc37036b629b80 Mon Sep 17 00:00:00 2001
From: Britney Fransen <brfransen@gmail.com>
Date: Wed, 11 May 2016 14:15:04 +0000
Subject: htop: update to 2.0.1

---
 abs/extra/htop/PKGBUILD | 14 ++++----------
 1 file changed, 4 insertions(+), 10 deletions(-)

diff --git a/abs/extra/htop/PKGBUILD b/abs/extra/htop/PKGBUILD
index 1ba9d94..531cf81 100644
--- a/abs/extra/htop/PKGBUILD
+++ b/abs/extra/htop/PKGBUILD
@@ -4,11 +4,11 @@
 # Contributor: Daniel J Griffiths <ghost1227@archlinux.us>
 
 pkgname=htop
-pkgver=1.0.3
+pkgver=2.0.1
 pkgrel=1
 pkgdesc="Interactive process viewer"
 arch=('i686' 'x86_64')
-url="http://htop.sourceforge.net/"
+url="http://hisham.hm/htop/"
 license=('GPL')
 depends=('ncurses')
 makedepends=('python2')
@@ -16,20 +16,14 @@ 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
-}
+md5sums=('f75fe92b4defaa80d99109830f34b5e2')
 
 build() {
   cd "$pkgname-$pkgver"
 
   ./configure \
       --prefix=/usr \
+      --sysconfdir=/etc \
       --enable-unicode \
       --enable-openvz \
       --enable-vserver \
-- 
cgit v0.12

