diff --git a/srcpkgs/dehydrated/template b/srcpkgs/dehydrated/template new file mode 100644 index 00000000000..8071c2a3dbe --- /dev/null +++ b/srcpkgs/dehydrated/template @@ -0,0 +1,26 @@ +# Template file for 'dehydrated' +pkgname=dehydrated +version=0.6.2 +revision=1 +noarch="Use on any arch, it's shell" +changelog="https://raw.githubusercontent.com/lukas2511/dehydrated/master/CHANGELOG" +depends="curl" +short_desc="Acme client implemented as a shell-script – just add water" +maintainer="Toyam Cox " +license="MIT" +homepage="https://dehydrated.io/" +distfiles="https://github.com/lukas2511/dehydrated/releases/download/v${version}/dehydrated-${version}.tar.gz" +checksum=163384479199f06f59382ceb6291a299567a2f4f0b963b9b61f2db65a407e80e + +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 +}