aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--main/htop/APKBUILD18
1 files changed, 10 insertions, 8 deletions
diff --git a/main/htop/APKBUILD b/main/htop/APKBUILD
index 93ff982c11..ac4a843b5f 100644
--- a/main/htop/APKBUILD
+++ b/main/htop/APKBUILD
@@ -1,27 +1,29 @@
-# Maintainer:Carlo Landmeter
+# Maintainer: Carlo Landmeter <clandmeter@gmail.com>
pkgname=htop
pkgver=1.0.2
pkgrel=0
-pkgdesc="An interactive process viewer for Linux"
+pkgdesc="An interactive process viewer"
url="http://htop.sourceforge.net"
arch="all"
-license='GPL'
-depends=
+license="GPL2"
+depends=""
makedepends="ncurses-dev"
-source="http://surfnet.dl.sourceforge.net/sourceforge/htop/$pkgname-$pkgver.tar.gz"
-
subpackages="$pkgname-doc"
+source="http://surfnet.dl.sourceforge.net/sourceforge/htop/$pkgname-$pkgver.tar.gz"
_builddir="$srcdir"/$pkgname-$pkgver
build() {
cd "$_builddir"
- ./configure --prefix=/usr --mandir=/usr/share/man
+ ./configure \
+ --prefix=/usr \
+ --mandir=/usr/share/man \
+ || return 1
make || return 1
}
package() {
cd "$_builddir"
- make DESTDIR="$pkgdir" install
+ make DESTDIR="$pkgdir" install || return 1
}
md5sums="0d01cca8df3349c74569cefebbd9919e htop-1.0.2.tar.gz"