1 # Maintainer: Julien Nicoulaud <julien.nicoulaud@gmail.com>
2 # Source: https://github.com/nicoulaj/archlinux-packages
7 pkgdesc="A configurable rc.d daemon for jstatd."
9 url="https://github.com/nicoulaj/archlinux-packages/tree/master/jstatd-daemon"
11 depends=(java-environment bash)
13 backup=("etc/conf.d/${_daemon}")
14 source=("${_daemon}.conf.d"
16 "${_daemon}.all.policy")
17 md5sums=('28c64a060dab2a489058e529e2ac6335'
18 '6983693eceefa805409cb8253d179363'
19 '4da21ee2ff5a58127b3f5b06d5476ba7')
22 msg2 "Install daemon script in /etc/rc.d..."
23 install -Dm755 "${srcdir}/${_daemon}.rc.d" "${pkgdir}/etc/rc.d/${_daemon}"
25 msg2 "Install daemon conf file in /etc/conf.d..."
26 install -Dm644 "${srcdir}/${_daemon}.conf.d" "${pkgdir}/etc/conf.d/${_daemon}"
28 msg2 "Install daemon policy files in /etc/jstatd..."
29 install -Dm644 "${srcdir}/${_daemon}.all.policy" "${pkgdir}/etc/jstatd/all.policy"