1 # Maintainer: Mr. Fillo <fillo@fillo.ru>
2 # Contributor: Mr. Fillo <fillo@fillo.ru>
7 pkgdesc="This is a small daemon that can monitor power control, run custom scripts after the specified time, and rely on open windows in a choice of action."
9 url="http://code.google.com/p/smartmon"
12 install="${pkgname}.install"
13 source=("http://smartmon.googlecode.com/files/${pkgname}-${pkgver}.tar.bz2"
16 md5sums=('929463c1f33fae0c063dae45acb37313'
17 'dc4f9b3096aae76c4dddfd8fbeefbe62'
18 'ae7cf4e3ce0f89756abb51c1c980dfbc')
21 cd "${srcdir}/${pkgname}-${pkgver}"
24 install -D -m755 "smartmon" "${pkgdir}/usr/bin/smartmon"
25 install -D -m755 "${srcdir}/smartmon_rc" "${pkgdir}/etc/rc.d/smartmon"
26 install -D -m644 "${srcdir}/smartmon_conf" "${pkgdir}/etc/conf.d/smartmon"
28 install -d "${pkgdir}/usr/share/smartmon"
29 install -D -m755 "scripts/xscreensaver" "${pkgdir}/usr/share/smartmon/xscreensaver"
30 install -D -m755 "scripts/simple" "${pkgdir}/usr/share/smartmon/simple"