# $Id: PKGBUILD 76973 2012-10-02 18:27:38Z jlichtblau $ # Maintainer: Jaroslav Lichtblau # Contributor: Geoffroy Carrier # Contributor: Marco Bartholomew pkgname=monit pkgver=5.5 pkgrel=1 pkgdesc="Utility for managing and monitoring, processes, files, directories and devices on a *NIX system" arch=('i686' 'x86_64' 'mips64el') url="http://mmonit.com/monit/" license=('GPL3') depends=('openssl') backup=('etc/monitrc') changelog=$pkgname.changelog source=(http://mmonit.com/$pkgname/dist/$pkgname-$pkgver.tar.gz \ monitd) sha256sums=('8276b060b3f0e6453c9748d421dec044ddae09d3e4c4666e13472aab294d7c53' 'b235b2fdeec49015d6b74f028d161b289663692f9ee2d2d78cf52d8db87ca496') build() { cd ${srcdir}/$pkgname-$pkgver ./configure --prefix=/usr make } package() { cd ${srcdir}/$pkgname-$pkgver make DESTDIR=${pkgdir} install install -D -m755 ${srcdir}/monitd ${pkgdir}/etc/rc.d/monitd install -D -m700 monitrc ${pkgdir}/etc/monitrc }