vp-build/srcpkgs/fake-hwclock/template

23 lines
715 B
Bash

# Template file for 'fake-hwclock'
pkgname=fake-hwclock
version=0.11
revision=1
archs=noarch
wrksrc=git
short_desc="Save/restore system clock on machines without working RTC hardware"
maintainer="Ivan Gonzalez Polanco <ivan14polanco@gmail.com>"
license="GPL-2.0-only"
homepage="https://tracker.debian.org/pkg/fake-hwclock"
distfiles="${DEBIAN_SITE}/main/f/${pkgname}/${pkgname}_${version}.tar.gz"
checksum="58e29ff272a8e8b40ab972c49f82fd8fb6ef69a7fdde5f84292f800b53ea29ce"
conf_files="/etc/default/fake-hwclock"
do_install() {
vbin fake-hwclock
vinstall etc/default/fake-hwclock 644 etc/default
vinstall debian/fake-hwclock.cron.hourly 755 etc/cron.hourly fake-hwclock
vman fake-hwclock.8
vsv fake-hwclock
}