pkgbase="systemd-monitor" pkgname="systemd-monitor" pkgdesc="Monitor systemd state and email root if there is a problem" pkgver=1.0.1 pkgrel=1 arch=("any") source=("systemd-monitor" "systemd-monitor.service") md5sums=('17257b4fa3bfac90d90ea719f9e22375' 'bca0d235b9babc7ce5289fa5579f3d88') package() { mkdir -p "${pkgdir}/usr/bin/" install -m 0755 systemd-monitor "${pkgdir}/usr/bin/" mkdir -p "${pkgdir}/usr/lib/systemd/system/" install -m 0644 systemd-monitor.service "${pkgdir}/usr/lib/systemd/system/" }