25 lines
782 B
Bash
25 lines
782 B
Bash
# Template file for 'uptimed'
|
|
pkgname=uptimed
|
|
version=0.4.2
|
|
revision=1
|
|
build_style=gnu-configure
|
|
configure_args="--disable-static"
|
|
hostmakedepends="automake libtool"
|
|
short_desc="Daemon that records system uptimes"
|
|
maintainer="Steve Prybylski <sa.prybylx@gmail.com>"
|
|
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=5f803eccc1247b4a22171de4670a896e05adb9a82f018facda1b2cc5b19dbc97
|
|
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
|
|
}
|