void-packages/srcpkgs/duiadns/template

26 lines
743 B
Bash

# Template file for 'duiadns'
pkgname=duiadns
version=1.3
revision=1
depends="python3-netifaces python3-netaddr python3-requests"
short_desc="Python client for Duiadns dynamic DNS hosting service"
maintainer="Andrew J. Hesford <ajh@sideband.org>"
license="BSD-2-Clause"
homepage="https://github.com/ahesford/duiadns"
distfiles="${homepage}/archive/v${version}.tar.gz"
checksum=2c62e828dffcc26f210aed036d3e43d97f509c6dfb5a15fd639dd2f0844382d6
system_accounts="_duiadns"
_duiadns_homedir="/var/empty"
_duiadns_descr="duiadns user"
make_dirs="/var/cache/duiadns 0755 _duiadns _duiadns"
conf_files="/etc/duiadns.conf"
python_version=3
do_install() {
vbin duiadns
vinstall sample.conf 0600 etc duiadns.conf
vsv duiadns
vlicense LICENSE.txt
}