void-packages/srcpkgs/dehydrated/template

29 lines
878 B
Bash
Raw Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

# Template file for 'dehydrated'
pkgname=dehydrated
version=0.6.2
revision=2
noarch="Use on any arch, it's shell"
depends="curl"
short_desc="Acme client implemented as a shell-script just add water"
maintainer="Toyam Cox <Vaelatern@voidlinux.eu>"
license="MIT"
homepage="https://dehydrated.io/"
changelog="https://raw.githubusercontent.com/lukas2511/dehydrated/master/CHANGELOG"
distfiles="https://github.com/lukas2511/dehydrated/releases/download/v${version}/dehydrated-${version}.tar.gz"
checksum=163384479199f06f59382ceb6291a299567a2f4f0b963b9b61f2db65a407e80e
conf_files="/etc/dehydrated/config
/etc/dehydrated/domains.txt
/etc/dehydrated/hook.sh"
do_install() {
vbin dehydrated
vman docs/man/dehydrated.1
vmkdir /etc
vcopy docs/examples /etc/dehydrated
rm -r docs/man
rm -r docs/examples
vlicense LICENSE
for file in $(ls docs); do
vdoc docs/$file
done
}