aboutsummaryrefslogtreecommitdiffstats
path: root/main/htop/APKBUILD
diff options
context:
space:
mode:
authorNatanael Copa <ncopa@alpinelinux.org>2012-04-18 17:27:00 +0000
committerNatanael Copa <ncopa@alpinelinux.org>2012-04-18 17:28:02 +0000
commit67f24789ab506e4bd7db6e495be62a38e41163c4 (patch)
tree83287363b3f8a5391adb049280631e132ebe2d3e /main/htop/APKBUILD
parent19afdeea89eacd9f92cf65de36f2df2b5794059e (diff)
downloadaports-67f24789ab506e4bd7db6e495be62a38e41163c4.tar.bz2
aports-67f24789ab506e4bd7db6e495be62a38e41163c4.tar.xz
main/htop: upgrade to 1.0.1
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"