aboutsummaryrefslogtreecommitdiffstats
path: root/main/htop/APKBUILD
diff options
context:
space:
mode:
Diffstat (limited to 'main/htop/APKBUILD')
-rw-r--r--main/htop/APKBUILD11
1 files changed, 8 insertions, 3 deletions
diff --git a/main/htop/APKBUILD b/main/htop/APKBUILD
index d1107903da..ed4e00ec07 100644
--- a/main/htop/APKBUILD
+++ b/main/htop/APKBUILD
@@ -1,6 +1,6 @@
# Maintainer:Carlo Landmeter
pkgname=htop
-pkgver=0.9
+pkgver=1.0.1
pkgrel=0
pkgdesc="An interactive process viewer for Linux"
url="http://htop.sourceforge.net"
@@ -12,11 +12,16 @@ source="http://surfnet.dl.sourceforge.net/sourceforge/htop/$pkgname-$pkgver.tar.
subpackages="$pkgname-doc"
+_builddir="$srcdir"/$pkgname-$pkgver
build() {
- cd $startdir/src/$pkgname-$pkgver
+ cd "$_builddir"
./configure --prefix=/usr --mandir=/usr/share/man
make || return 1
+}
+
+package() {
+ cd "$_builddir"
make DESTDIR="$pkgdir" install
}
-md5sums="7c5507f35f363f3f40183a2ba3c561f8 htop-0.9.tar.gz"
+md5sums="d3b80d905a6bff03f13896870787f901 htop-1.0.1.tar.gz"