1 # Maintainer: Sergej Pupykin <pupykin.s+arch@gmail.com>
2 # Maintainer: Bartłomiej Piotrowski <nospam@bpiotrowski.pl>
3 # Contributor: Tom Killian <tomk@runbox.com>
4 # Contributor: Tom Newsom <Jeepster@gmx.co.uk>
9 pkgdesc="A system uptime record daemon"
11 #url="http://podgorny.cz/uptimed/"
12 url="https://github.com/rpodgorny/uptimed"
15 makedepends=('systemd')
16 backup=(etc/uptimed.conf)
17 install=$pkgname.install
18 source=("$pkgname-$pkgver.tar.gz::https://github.com/rpodgorny/uptimed/archive/v$pkgver.tar.gz")
19 sha512sums=('035caba32182a807312b587b3cb3b6322027b7c8f3e69a3f0b52ea4f44ecfc40505fe58b6a1b56a87a967f1f8b1fbc075414a04b60717577e32972feadb9bc2d')
22 cd "$srcdir"/$pkgname-$pkgver
24 ./configure --prefix=/usr --sysconfdir=/etc --sbindir=/usr/bin
29 cd "$srcdir"/$pkgname-$pkgver
30 make install DESTDIR="$pkgdir"
31 mv "$pkgdir"/etc/uptimed.conf-dist "$pkgdir"/etc/uptimed.conf