# $Id: PKGBUILD 99425 2013-10-28 14:29:30Z mtorromeo $ # Maintainer: Massimiliano Torromeo pkgname=nmon pkgver=14i pkgrel=1 pkgdesc="AIX & Linux Performance Monitoring tool" arch=('i686' 'x86_64' 'mips64el') url="http://nmon.sourceforge.net" license=('GPL') depends=('ncurses') source=("http://downloads.sourceforge.net/${pkgname}/lmon$pkgver.c") sha256sums=('d401cb5048e3e8e8f1ad63e68a0499c73ec64d5d2b7c41a1aeb2b596374eaa86') build() { cd ${srcdir} cc -o nmon lmon$pkgver.c -g -O2 -D JFS -D GETUSER -Wall -D LARGEMEM -lncurses -g -D X86 } package() { cd ${srcdir} install -D -m 0755 nmon "${pkgdir}/usr/bin/nmon" }