void-packages/srcpkgs/duiadns/template
2020-10-10 10:21:11 -04:00

24 lines
777 B
Bash

# Template file for 'duiadns'
pkgname=duiadns
version=1.1
revision=2
build_style=python3-module
hostmakedepends="python3-setuptools"
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=d150f5d052ae3f2764bcfd6465c503fb9c620d994689ba093b5f926c72163638
system_accounts="_duiadns"
_duiadns_homedir="/var/empty"
_duiadns_descr="duiadns user"
make_dirs="/var/cache/duiadns 0755 _duiadns _duiadns"
conf_files="/etc/duiadns.conf"
post_install() {
vlicense LICENSE.txt
vinstall sample.conf 0600 etc duiadns.conf
vsv duiadns
}