summarylogtreecommitdiffstats
path: root/PKGBUILD
blob: 5e3ea03be6e8c50641e4047f3fd69a15b3ab452d (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
# Maintainer: jose <jose1711 [at] gmail (dot) com>

pkgname=nmon2rrd
pkgver=21
pkgrel=1
pkgdesc="Filter to convert nmon output files to rrdtool format"
arch=('i686' 'x86_64')
url="http://www-941.haw.ibm.com/collaboration/wiki/display/WikiPtype/nmon"
license=("custom")
depends=('glibc')
#source=("https://www.ibm.com/developerworks/community/wikis/form/anonymous/api/wiki/61ad9cf2-c6a3-4d2c-b779-61ff0266d32a/page/190cda06-6ee0-48c7-9cb1-eeb0d14897ad/attachment/135bb742-4bcb-40d3-beb5-aba44d769f23/media/${pkgname}v${pkgver}.tar")
source=("https://www.ibm.com/developerworks/community/wikis/form/anonymous/api/wiki/61ad9cf2-c6a3-4d2c-b779-61ff0266d32a/page/190cda06-6ee0-48c7-9cb1-eeb0d14897ad/attachment/5b528be6-f65b-4f15-a838-e32ca0d9dc65/media/${pgkname}v${pgkver}.tar")
md5sums=('fa7f00703eff3a7d8f64f10ded2fd3c1')

build() {
cd $srcdir
sed -i "s/#include <strings.h>/#include <string.h>/" nmon2rrd_17.c
gcc -onmon2rrd nmon2rrd_17.c
}

package() {
install -D -m755 $srcdir/nmon2rrd $pkgdir/usr/bin/nmon2rrd
}