upgpkg: wordpress 6.2.1-1
[ArchLinux/community.git] / monit / trunk / PKGBUILD
blob6de491b4baffafce116f36f5a20f702718c3c6dd
1 # Maintainer: Jaroslav Lichtblau <svetlemodry@archlinux.org>
2 # Contributor: Geoffroy Carrier <geoffroy.carrier@aur.archlinux.org>
3 # Contributor: Marco Bartholomew <marco@marcobartholomew.com>
5 pkgname=monit
6 pkgver=5.33.0
7 pkgrel=1
8 pkgdesc="Utility for managing and monitoring, processes, files, directories and devices on a *NIX system"
9 arch=('x86_64')
10 url="https://mmonit.com/monit/"
11 license=('GPL3')
12 depends=('openssl')
13 backup=('etc/monitrc')
14 changelog=$pkgname.changelog
15 source=(https://mmonit.com/$pkgname/dist/$pkgname-$pkgver.tar.gz)
16 sha256sums=('1ace889c0183473a9d70160df6533bb6e1338dc1354f5928507803e1e2a863b5')
18 build() {
19   cd "${srcdir}"/$pkgname-$pkgver
21   ./configure --prefix=/usr --sysconfdir=/etc
22   make
25 package() {
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