[arch-commits] Commit in nmon/repos (2 files)

Felix Yan felixonmars at archlinux.org
Tue Jul 7 14:14:57 UTC 2020


    Date: Tuesday, July 7, 2020 @ 14:14:57
  Author: felixonmars
Revision: 658778

archrelease: copy trunk to community-staging-x86_64

Added:
  nmon/repos/community-staging-x86_64/
  nmon/repos/community-staging-x86_64/PKGBUILD
    (from rev 658777, nmon/trunk/PKGBUILD)

----------+
 PKGBUILD |   22 ++++++++++++++++++++++
 1 file changed, 22 insertions(+)

Copied: nmon/repos/community-staging-x86_64/PKGBUILD (from rev 658777, nmon/trunk/PKGBUILD)
===================================================================
--- community-staging-x86_64/PKGBUILD	                        (rev 0)
+++ community-staging-x86_64/PKGBUILD	2020-07-07 14:14:57 UTC (rev 658778)
@@ -0,0 +1,22 @@
+# Maintainer: Massimiliano Torromeo <massimiliano.torromeo at gmail.com>
+
+pkgname=nmon
+pkgver=16m
+pkgrel=2
+pkgdesc="AIX & Linux Performance Monitoring tool"
+arch=('x86_64')
+url="http://nmon.sourceforge.net"
+license=('GPL')
+depends=('ncurses')
+source=("https://downloads.sourceforge.net/$pkgname/lmon$pkgver.c")
+sha256sums=('2bed4d45fdfdf1d1387ec91e139c04975d5f838e3e0d53c0fe2d803a707e5fc1')
+
+build() {
+  cd "$srcdir"
+  cc -o nmon lmon$pkgver.c $LDFLAGS $CFLAGS -g -O3 -lncurses -lm -D X86
+}
+
+package() {
+  cd "$srcdir"
+  install -D -m 0755 nmon "$pkgdir/usr/bin/nmon"
+}


More information about the arch-commits mailing list