diff options
-rw-r--r-- | .SRCINFO | 6 | ||||
-rw-r--r-- | PKGBUILD | 16 |
2 files changed, 9 insertions, 13 deletions
@@ -1,6 +1,6 @@ pkgbase = htop-git pkgdesc = Interactive text-mode process viewer - pkgver = 312.953ec71 + pkgver = 383.f0e2a0e pkgrel = 1 url = https://github.com/hishamhm/htop arch = i686 @@ -15,9 +15,7 @@ pkgbase = htop-git conflicts = htop options = !emptydirs source = git+https://github.com/hishamhm/htop.git - source = https://projects.archlinux.org/svntogit/packages.git/plain/htop/trunk/tree-crash.patch - md5sums = SKIP - md5sums = 48eba3c0303bfd19d761b859bc69d713 + sha256sums = SKIP pkgname = htop-git @@ -1,6 +1,6 @@ gitname=htop pkgname=${gitname}-git -pkgver=312.953ec71 +pkgver=383.f0e2a0e pkgrel=1 pkgdesc="Interactive text-mode process viewer" url="https://github.com/hishamhm/${gitname}" @@ -13,9 +13,8 @@ optdepends=('lsof: list open files for running process' provides=('htop') conflicts=('htop') options=('!emptydirs') -source=("git+${url}.git" - "https://projects.archlinux.org/svntogit/packages.git/plain/htop/trunk/tree-crash.patch") -md5sums=('SKIP' '48eba3c0303bfd19d761b859bc69d713') +source=("git+${url}.git") +sha256sums=('SKIP') pkgver() { cd "${srcdir}/${gitname}" @@ -23,7 +22,7 @@ pkgver() { printf "%s" "${ver//-/.}" } -build() { +prepare() { cd "${srcdir}/${gitname}" ./autogen.sh @@ -31,10 +30,6 @@ build() { sed -i 's|ncursesw/curses.h|curses.h|' RichString.[ch] configure sed -i 's|python|python2|' scripts/MakeHeader.py - # Boost field buffer size - crashes when trying to draw very deep UTF-8 trees - # Test by nesting 30 shells - patch -N -i "${srcdir}/tree-crash.patch" - ./configure \ --prefix=/usr \ --enable-unicode \ @@ -42,7 +37,10 @@ build() { --enable-vserver \ --enable-cgroup \ --enable-oom +} +build() { + cd "${srcdir}/${gitname}" make } |