mirror of
https://github.com/archlinuxarm/PKGBUILDs.git
synced 2024-12-08 23:03:46 +00:00
22 lines
828 B
Bash
22 lines
828 B
Bash
# Maintainer: Geoffroy Carrier <geoffroy.carrier@aur.archlinux.org>
|
|
# Contributor: Marco Bartholomew <marco@marcobartholomew.com>
|
|
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')
|