diff --git a/srcpkgs/stubby/template b/srcpkgs/stubby/template index 5b3604de5c8..b845b966cb8 100644 --- a/srcpkgs/stubby/template +++ b/srcpkgs/stubby/template @@ -1,10 +1,9 @@ # Template file for 'stubby' pkgname=stubby -version=0.2.6 +version=0.3.0 revision=1 -build_style=gnu-configure +build_style=cmake conf_files="/etc/stubby/stubby.yml" -hostmakedepends="automake" makedepends="getdns-devel libyaml-devel" depends="libcap-progs" # For setcap(8) short_desc="DNS Privacy stub resolver" @@ -13,19 +12,15 @@ license="BSD-3-Clause" homepage="https://github.com/getdnsapi/stubby" changelog="https://raw.githubusercontent.com/getdnsapi/stubby/v${version}/ChangeLog" distfiles="https://github.com/getdnsapi/stubby/archive/v${version}.tar.gz" -checksum=634b0b9fb8f36416e210fa65800a6c1672bcf9f4f276a042ccf89567ad8ef781 +checksum=b37a0e0ec2b7cfcdcb596066a6fd6109e91a2766b17a42c47d3703d9be41d000 # Create stubby system user/group system_accounts="_${pkgname}" _stubby_homedir="/var/lib/${pkgname}" make_dirs="/var/lib/${pkgname} 0755 _${pkgname} _${pkgname}" -pre_configure() { - autoreconf -fi -} - post_install() { - rm ${DESTDIR}/etc/stubby/stubby.yml.example + vinstall stubby.yml.example 0644 etc/stubby stubby.yml vlicense COPYING vsv stubby