updated on Sat Jan 21 20:03:50 UTC 2012
[aur-mirror.git] / downtimed / PKGBUILD
blob3e58be7a90c1edf2c5a52681f089b8547faaaa4d
1 # Maintainer: Jason Melton <jason.melton@gmail.com>
3 pkgname=downtimed
4 pkgver=0.5
5 pkgrel=1
6 pkgdesc="System downtime monitoring and reporting tool"
7 arch=(i686 x86_64)
8 makedepends=('xz')
9 source=(http://dist.epipe.com/${pkgname}/${pkgname}-${pkgver}.tar.xz
10         downtime)
12 license=(BSD)
13 url="http://dist.epipe.com/downtimed"
15 build() {
16   cd ${srcdir}/${pkgname}-${pkgver}
17   ./configure --prefix=/usr --sysconfdir=/etc
19   /usr/bin/make || return 1
22 package() {
23   cd ${srcdir}/${pkgname}-${pkgver}
24   /usr/bin/make DESTDIR=${pkgdir} install || return 1
26   /bin/install -D -m755 ${startdir}/downtime ${pkgdir}/etc/rc.d/downtime
28   mkdir -p ${pkgdir}/var/lib/downtimed
31 # vim: ts=2: ft=sh
32 md5sums=('61f8faea1379a6e6073bbdbd14c5b629'
33          '489cd41b7c312ecdccb51f39f77ba137')