summaryrefslogtreecommitdiffstats
path: root/abs/not_built/extra/rrd_stats/PKGBUILD
blob: b0001857df93d3fa5795fac62cc23c8aaf4a9885 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
pkgname=rrd_stats
pkgver=1
pkgrel=20
pkgdesc="graph system stats"
arch=('i686' 'x86_64')
url=""
license=('GPL')
source=(rrd_stats.tgz)
depends=('hddtemp'  'sysstat'  'xmbmon'  'rrdtool'  'perl'  'local-website')
backup=('etc/rrdsettings.cfg' 'data/srv/httpd/htdocs/index-rrd.html'
        'data/srv/httpd/htdocs/cgi-bin/rrd.cgi' 'usr/bin/rrd_python.py')
install=rrd_stats.install

build() {

  /bin/true

}

package() {

  cd ${srcdir}/${pkgname}
  cp -a * ${pkgdir}/
  install -d ${pkgdir}/var/lib/rrd
  echo "RRD files are used by rrd_stats" > ${pkgdir}/var/lib/rrd/README
  mv ${pkgdir}/data/srv/httpd/htdocs/rrd/index.html ${pkgdir}/data/srv/httpd/htdocs/rrd/index-rrd.html
  chown -R http:users ${pkgdir}/data/srv/httpd
  chmod -R 755 ${pkgdir}/data/srv/httpd

}
md5sums=('1be3b8b684853908aab62aa5130ae30f')