aboutsummaryrefslogtreecommitdiffstats
path: root/main/atop
diff options
context:
space:
mode:
Diffstat (limited to 'main/atop')
-rw-r--r--main/atop/APKBUILD10
1 files changed, 5 insertions, 5 deletions
diff --git a/main/atop/APKBUILD b/main/atop/APKBUILD
index 4f694ba7c6..13be69f5fe 100644
--- a/main/atop/APKBUILD
+++ b/main/atop/APKBUILD
@@ -2,12 +2,12 @@
pkgname=atop
pkgver=2.0.2
_ver=${pkgver/_p/-}
-pkgrel=0
+pkgrel=1
pkgdesc="Resource-specific view of processes"
url="http://www.atcomputing.nl/Tools/atop"
arch="all"
-license="GPL-2"
-depends=
+license="GPL2+"
+depends=""
makedepends="zlib-dev ncurses-dev"
subpackages="$pkgname-doc"
source="http://www.atoptool.nl/download/atop-$_ver.tar.gz
@@ -26,7 +26,7 @@ prepare() {
build() {
cd "$_builddir"
- make
+ make || return 1
}
package() {
@@ -35,7 +35,7 @@ package() {
make DESTDIR="$pkgdir" \
INIPATH=/etc/init.d \
SCRPATH=/etc/periodic/daily \
- install
+ install || return 1
rm -f "$pkgdir"/etc/cron.d
mv "$pkgdir"/etc/periodic/daily/atop.daily \
"$pkgdir"/etc/periodic/daily/atop