net-proxy/dnss: update SRC_URI

Signed-off-by: Theron York <theron.york@cloudnuke.org>
This commit is contained in:
Theron York
2026-06-22 13:15:24 -05:00
parent 185cd62ecf
commit ab0ade2005
2 changed files with 6 additions and 7 deletions

View File

@@ -8,26 +8,26 @@ inherit zig
DESCRIPTION="A small, speedy DNS proxy and bad-stuff-blocker"
HOMEPAGE="https://codeberg.org/zacoons/dnss"
SRC_URI="https://codeberg.org/zacoons/dnss/archive/${PV}.tar.gz -> ${P}.tar.gz"
SRC_URI="https://codeberg.org/zacoons/dnss/archive/${PV}.tar.gz
-> ${P}.tar.gz"
S="${WORKDIR}/dnss"
LICENSE="Unlicense"
SLOT="0"
KEYWORDS="~amd64"
S="${WORKDIR}/dnss"
src_compile() {
export ZIG_STRIP=0
ezig build --release=fast
}
src_install() {
zig_src_install
# Example config
if [[ -f "${S}/example.dnss.conf" ]]; then
insinto /etc
newins "${S}/example.dnss.conf" dnss.conf.example
else
ewarn "example.dnss.conf not found; skipping config example"
fi
}
}

View File

@@ -21,11 +21,10 @@ src_compile() {
src_install() {
zig_src_install
# Example config
if [[ -f "${S}/example.dnss.conf" ]]; then
insinto /etc
newins "${S}/example.dnss.conf" dnss.conf.example
else
ewarn "example.dnss.conf not found; skipping config example"
fi
}
}