void-packages/srcpkgs/uptimed/template
2015-12-03 20:38:52 -05:00

24 lines
694 B
Bash

# Template file for 'uptimed'
pkgname=uptimed
version=0.4.0
revision=1
build_style=gnu-configure
configure_args="--disable-static"
conf_files="/etc/uptimed.conf"
make_dirs="/var/spool/uptimed 0755 root root"
hostmakedepends="automake libtool"
short_desc="Daemon that records system uptimes"
maintainer="Steve Prybylski <sa.prybylx@gmail.com>"
license="GPL-2"
homepage="https://github.com/rpodgorny/uptimed"
distfiles="${homepage}/archive/v${version}.tar.gz>${pkgname}-${version}.tar.gz"
checksum=26891965bb499065e34072cecd3eb8087102b1c05f530c8fe8504a07c722f9bf
pre_configure() {
./autogen.sh
}
post_install() {
mv ${DESTDIR}/etc/uptimed.conf-dist ${DESTDIR}/etc/uptimed.conf
vsv uptimed
}