updated on Tue Jan 10 04:01:21 UTC 2012
[aur-mirror.git] / jstatd-daemon / PKGBUILD
blobe3009e0738705f04a6a7b5e9b4d83670f5c2c248
1 # Maintainer: Julien Nicoulaud <julien.nicoulaud@gmail.com>
2 # Source: https://github.com/nicoulaj/archlinux-packages
3 pkgname=jstatd-daemon
4 _daemon=jstatd
5 pkgver=1.0.0
6 pkgrel=1
7 pkgdesc="A configurable rc.d daemon for jstatd."
8 arch=(any)
9 url="https://github.com/nicoulaj/archlinux-packages/tree/master/jstatd-daemon"
10 license=(BSD)
11 depends=(java-environment bash)
12 changelog=Changelog
13 backup=("etc/conf.d/${_daemon}")
14 source=("${_daemon}.conf.d"
15         "${_daemon}.rc.d"
16         "${_daemon}.all.policy")
17 md5sums=('28c64a060dab2a489058e529e2ac6335'
18          '6983693eceefa805409cb8253d179363'
19          '4da21ee2ff5a58127b3f5b06d5476ba7')
21 package() {
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"