summaryrefslogtreecommitdiffstats
path: root/abs/extra-testing/rrd_stats/PKGBUILD
blob: 1f987e497f690e6137aa27aebd99058a132666b7 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
pkgname=rrd_stats
pkgver=1
pkgrel=18
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')
install=rrd_stats.install
build() {
  cd $startdir/src/$pkgname
  cp -a * $startdir/pkg
  mkdir -p $startdir/pkg/var/lib/rrd
  echo "RRD files are used by rrd_stats" > $startdir/pkg/var/lib/rrd/README
  mv $startdir/pkg/data/srv/httpd/htdocs/rrd/index.html $startdir/pkg/data/srv/httpd/htdocs/rrd/index-rrd.html
  chown -R http:users $startdir/pkg/data/srv/httpd
  chmod -R 755 $startdir/pkg/data/srv/httpd
}
md5sums=('e3d5f7d56fd1a3f26af0226ddcc53bfa')