26 lines
775 B
Bash
26 lines
775 B
Bash
# Template file for 'uptimed'
|
|
pkgname=uptimed
|
|
version=0.4.4
|
|
revision=1
|
|
build_style=gnu-configure
|
|
configure_args="--disable-static"
|
|
hostmakedepends="automake libtool"
|
|
short_desc="Daemon that records system uptimes"
|
|
maintainer="Orphaned <orphan@voidlinux.org>"
|
|
license="GPL-2.0-only"
|
|
homepage="https://github.com/rpodgorny/uptimed"
|
|
changelog="https://raw.githubusercontent.com/rpodgorny/uptimed/master/ChangeLog"
|
|
distfiles="${homepage}/archive/v${version}.tar.gz>${pkgname}-${version}.tar.gz"
|
|
checksum=041f59710c316c68907e9bd07db2606f3dc16bee908b5644715ff2be30c59453
|
|
conf_files="/etc/uptimed.conf"
|
|
make_dirs="/var/spool/uptimed 0755 root root"
|
|
|
|
pre_configure() {
|
|
./autogen.sh
|
|
}
|
|
|
|
post_install() {
|
|
mv ${DESTDIR}/etc/uptimed.conf-dist ${DESTDIR}/etc/uptimed.conf
|
|
vsv uptimed
|
|
}
|