diff options
Diffstat (limited to 'main/htop/APKBUILD')
-rw-r--r-- | main/htop/APKBUILD | 13 |
1 files changed, 6 insertions, 7 deletions
diff --git a/main/htop/APKBUILD b/main/htop/APKBUILD index 315cfeb77a..349b28bf41 100644 --- a/main/htop/APKBUILD +++ b/main/htop/APKBUILD @@ -12,9 +12,9 @@ makedepends="ncurses-dev" subpackages="$pkgname-doc" source="$url/releases/$pkgver/$pkgname-$pkgver.tar.gz" -_builddir="$srcdir"/$pkgname-$pkgver +builddir="$srcdir"/$pkgname-$pkgver build() { - cd "$_builddir" + cd "$builddir" ./configure \ --build=$CBUILD \ --host=$CHOST \ @@ -23,14 +23,13 @@ build() { --mandir=/usr/share/man \ --localstatedir=/var \ --enable-cgroups \ - --enable-taskstats \ - || return 1 - make || return 1 + --enable-taskstats + make } package() { - cd "$_builddir" - make DESTDIR="$pkgdir" install || return 1 + cd "$builddir" + make DESTDIR="$pkgdir" install } md5sums="7d354d904bad591a931ad57e99fea84a htop-2.0.2.tar.gz" |