# Maintainer: Geoffroy Carrier # Contributor: Marco Bartholomew pkgname=monit pkgver=4.10.1 pkgrel=1 pkgdesc="Utility for managing and monitoring, processes, files, directories and devices on a *NIX system" url="http://www.tildeslash.com/monit/" license=('GPL') arch=('i686' 'x86_64') depends=('bison' 'flex') backup=('etc/monitrc') source=(http://www.tildeslash.com/$pkgname/dist/$pkgname-$pkgver.tar.gz monitd) build() { cd "$srcdir"/$pkgname-$pkgver ./configure --prefix=/usr || return 1 make || return 1 make DESTDIR="$pkgdir" install || return 1 install -D -m755 "$srcdir"/monitd "$pkgdir"/etc/rc.d/monitd install -D -m644 monitrc "$pkgdir"/etc/monitrc } md5sums=('d3143b0bbd79b53f1b019d2fc1dae656' '889227c1c9d6d0522a20d5181a563326')