summaryrefslogtreecommitdiff
path: root/community/nmon/PKGBUILD
diff options
context:
space:
mode:
authorroot <root@rshg054.dnsready.net>2012-03-18 00:02:54 +0000
committerroot <root@rshg054.dnsready.net>2012-03-18 00:02:54 +0000
commitd14a25fc4f65ae3d6e62f4668e9cb88d74834255 (patch)
tree7c4f618283e9b502f0d9cfb5059ce38daa7738be /community/nmon/PKGBUILD
parent9a940818cc3edb82afac4d73a6474e6e3374f987 (diff)
Sun Mar 18 00:02:53 UTC 2012
Diffstat (limited to 'community/nmon/PKGBUILD')
-rw-r--r--community/nmon/PKGBUILD21
1 files changed, 13 insertions, 8 deletions
diff --git a/community/nmon/PKGBUILD b/community/nmon/PKGBUILD
index 9cf278e07..6420dedb8 100644
--- a/community/nmon/PKGBUILD
+++ b/community/nmon/PKGBUILD
@@ -1,20 +1,25 @@
-# $Id$
+# $Id: PKGBUILD 67998 2012-03-16 23:55:43Z giovanni $
# Maintainer: Massimiliano Torromeo <massimiliano.torromeo@gmail.com>
pkgname=nmon
pkgver=14g
-pkgrel=2
+pkgrel=3
pkgdesc="AIX & Linux Performance Monitoring tool"
arch=('i686' 'x86_64')
url="http://nmon.sourceforge.net"
-license=("GPL")
-depends=("ncurses")
+license=('GPL')
+depends=('ncurses')
source=("http://downloads.sourceforge.net/${pkgname}/lmon$pkgver.c")
+md5sums=('e537f51446fb375140368b115dc8278b')
build() {
- cd ${srcdir}
- cc -o nmon lmon$pkgver.c -g -O2 -D JFS -D GETUSER -Wall -D LARGEMEM -lncurses -g
- install -D -m 0755 nmon "${pkgdir}/usr/bin/nmon"
+ cd ${srcdir}
+
+ cc -o nmon lmon$pkgver.c -g -O2 -D JFS -D GETUSER -Wall -D LARGEMEM -lncurses -g
}
-md5sums=('e537f51446fb375140368b115dc8278b')
+package() {
+ cd ${srcdir}
+
+ install -D -m 0755 nmon "${pkgdir}/usr/bin/nmon"
+}