1 # Maintainer: Jaroslav Lichtblau <svetlemodry@archlinux.org>
2 # Contributor: Geoffroy Carrier <geoffroy.carrier@aur.archlinux.org>
3 # Contributor: Marco Bartholomew <marco@marcobartholomew.com>
8 pkgdesc="Utility for managing and monitoring, processes, files, directories and devices on a *NIX system"
10 url="https://mmonit.com/monit/"
13 backup=('etc/monitrc')
14 changelog=$pkgname.changelog
15 source=(https://mmonit.com/$pkgname/dist/$pkgname-$pkgver.tar.gz)
16 sha256sums=('1ace889c0183473a9d70160df6533bb6e1338dc1354f5928507803e1e2a863b5')
19 cd "${srcdir}"/$pkgname-$pkgver
21 ./configure --prefix=/usr --sysconfdir=/etc
26 cd "${srcdir}"/$pkgname-$pkgver
28 make DESTDIR="${pkgdir}" install
30 install -Dm700 monitrc "${pkgdir}"/etc/monitrc
31 install -Dm644 system/startup/$pkgname.service "${pkgdir}"/usr/lib/systemd/system/$pkgname.service