pkgname=redxen-config-$_svcname pkgver="$(date +'%Y.%m.%d')" url="https://git.redxen.eu/RedXen/aports" arch="noarch" license="none" pkgdesc="RedXen service config for $_svcname" options="!check" builddir="$srcdir" package_copy_configs() { for i in ${1:-$source}; do install -Dm"${_cfgumask:-644}" "$i" "$pkgdir"/"${_configpath:-/etc/${_svcname}}"/"$i" done } package() { package_copy_configs }