summarylogtreecommitdiffstats
path: root/PKGBUILD
diff options
context:
space:
mode:
Diffstat (limited to 'PKGBUILD')
-rw-r--r--PKGBUILD34
1 files changed, 17 insertions, 17 deletions
diff --git a/PKGBUILD b/PKGBUILD
index b877c3ef863..c18042eb0a9 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -1,4 +1,5 @@
-# Maintainer: Lars Rustand <rustand dot lars at gmail dot com>
+# Maintainer: Sean Greenslade <aur AT seangreenslade DOT com>
+# Contributor: Lars Rustand <rustand dot lars at gmail dot com>
# Contributor: Boohbah <boohbah at gmail.com>
# Contributor: Eric Belanger <eric at archlinux.org>
# Contributor: Daniel J Griffiths <ghost1227 at archlinux.us>
@@ -7,32 +8,30 @@
_pkgname=htop
pkgname=$_pkgname-solarized
-pkgver=2.2.0
+pkgver=3.0.2
pkgrel=1
pkgdesc="Interactive process viewer with solarized patch"
arch=('i686' 'x86_64' 'armv7h')
-url="http://hisham.hm/htop/"
+url='https://htop.dev/'
license=('GPL')
-depends=('ncurses')
-makedepends=('python2')
+depends=('ncurses' 'libncursesw.so' 'libnl')
optdepends=('lsof: show files opened by a process'
'strace: attach to a running process')
provides=('htop')
conflicts=('htop')
options=('!emptydirs')
-source=("http://hisham.hm/$_pkgname/releases/$pkgver/$_pkgname-$pkgver.tar.gz"
- 'htop-2.2.0-solarized.patch')
-sha512sums=('ec1335bf0e3e0387e5e50acbc508d0effad19c4bc1ac312419dc97b82901f4819600d6f87a91668f39d429536d17304d4b14634426a06bec2ecd09df24adc62e'
- '5fa6d5627d3157bedb0b5d22b2d9c932af02bcf61bfed3f6f335f47eabef29d58820570c70f8babbd76ca0b938fda567cd51c6d8ec1c50f87b6d43d8b57c22dd')
+source=("https://github.com/htop-dev/htop/archive/${pkgver}/${_pkgname}-${pkgver}.tar.gz"
+ 'htop-solarized.patch')
+sha256sums=('b4744a3bea279f2a3725ed8e5e35ffd9cb10d66673bf07c8fe21feb3c4661305'
+ 'd602046cf90caed976061a09c34c8156de5023b93245de53b6ae115651b78ccb')
prepare() {
cd "$_pkgname-$pkgver"
- #sed -i 's|ncursesw/curses.h|curses.h|' RichString.[ch] configure
- #sed -i 's|python|python2|' scripts/MakeHeader.py
+ autoreconf -fi
- # Solarized patch: https://gist.github.com/ooesili/11292686
- patch -p1 -N -i "$srcdir/htop-2.2.0-solarized.patch"
+ # Solarized patch
+ patch -p1 -N -i "${srcdir}/htop-solarized.patch"
}
build() {
@@ -40,11 +39,12 @@ build() {
./configure \
--prefix=/usr \
- --enable-unicode \
- --enable-openvz \
- --enable-vserver \
+ --sysconfdir=/etc \
--enable-cgroup \
- --enable-oom
+ --enable-delayacct \
+ --enable-openvz \
+ --enable-unicode \
+ --enable-vserver
make
}