29 lines
855 B
Bash
29 lines
855 B
Bash
# Template file for 'dehydrated'
|
||
pkgname=dehydrated
|
||
version=0.6.5
|
||
revision=1
|
||
archs=noarch
|
||
depends="curl"
|
||
short_desc="Acme client implemented as a shell-script – just add water"
|
||
maintainer="Toyam Cox <Vaelatern@voidlinux.org>"
|
||
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=10aabd0027450bc70a18e49acaca7a9697e0cfb92368d3e508b7a4d6d69bfa35
|
||
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
|
||
}
|