updated on Thu Jan 26 16:09:46 UTC 2012
[aur-mirror.git] / dedibox-dma / PKGBUILD
blobe88bd11a7fc4a2a9c0a449157e654a68f3dec2ba
1 pkgname=dedibox-dma
2 pkgver=0.0.1
3 pkgrel=5
4 pkgdesc="Dedibox Monitoring Agent - A monitoring tool for dedibox server using dedibox stuff"
5 url="http://documentation.dedibox.fr/doku.php?id=gestion:monitoringdma"
6 license=""
7 depends=(net-snmp lm_sensors smartmontools hddtemp dmidecode perl)
8 makedepends=()
9 provides=()
10 conflicts=()
11 replaces=()
12 backup=()
13 arch=(i686 x86_64)
14 install=
15 source=(ftp://ftp.dedibox.fr/pub/dedibox/packages/binary/$pkgname\_$pkgver-$pkgrel.tar.gz http://www.syskall.net/~tapi/dedibox-dma/install.sh)
16 md5sums=(6916ca060243a24acc56d48b623ecd97)
18 build() {
19   cd $startdir/src/$pkgname
20   mkdir -p $startdir/pkg/etc/snmp $startdir/pkg/etc/default
21   mv check-disk.sh check-md.pl dma-ver.sh snmpd.conf snmptrapd.conf $startdir/pkg/etc/snmp
22   mv snmpd.defaults $startdir/pkg/etc/default/snmpd