mirror of
https://github.com/gentoo-mirror/guru.git
synced 2026-07-09 15:13:31 -04:00
net-proxy/dnss: update SRC_URI
Signed-off-by: Theron York <theron.york@cloudnuke.org>
This commit is contained in:
@@ -8,22 +8,22 @@ inherit zig
|
|||||||
|
|
||||||
DESCRIPTION="A small, speedy DNS proxy and bad-stuff-blocker"
|
DESCRIPTION="A small, speedy DNS proxy and bad-stuff-blocker"
|
||||||
HOMEPAGE="https://codeberg.org/zacoons/dnss"
|
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"
|
LICENSE="Unlicense"
|
||||||
SLOT="0"
|
SLOT="0"
|
||||||
KEYWORDS="~amd64"
|
KEYWORDS="~amd64"
|
||||||
|
|
||||||
S="${WORKDIR}/dnss"
|
|
||||||
|
|
||||||
src_compile() {
|
src_compile() {
|
||||||
|
export ZIG_STRIP=0
|
||||||
ezig build --release=fast
|
ezig build --release=fast
|
||||||
}
|
}
|
||||||
|
|
||||||
src_install() {
|
src_install() {
|
||||||
zig_src_install
|
zig_src_install
|
||||||
|
|
||||||
# Example config
|
|
||||||
if [[ -f "${S}/example.dnss.conf" ]]; then
|
if [[ -f "${S}/example.dnss.conf" ]]; then
|
||||||
insinto /etc
|
insinto /etc
|
||||||
newins "${S}/example.dnss.conf" dnss.conf.example
|
newins "${S}/example.dnss.conf" dnss.conf.example
|
||||||
|
|||||||
@@ -21,7 +21,6 @@ src_compile() {
|
|||||||
src_install() {
|
src_install() {
|
||||||
zig_src_install
|
zig_src_install
|
||||||
|
|
||||||
# Example config
|
|
||||||
if [[ -f "${S}/example.dnss.conf" ]]; then
|
if [[ -f "${S}/example.dnss.conf" ]]; then
|
||||||
insinto /etc
|
insinto /etc
|
||||||
newins "${S}/example.dnss.conf" dnss.conf.example
|
newins "${S}/example.dnss.conf" dnss.conf.example
|
||||||
|
|||||||
Reference in New Issue
Block a user