From e061aaa68c1a46da4a6eed11950b5f3fc87ff426 Mon Sep 17 00:00:00 2001 From: Fijxu Date: Wed, 23 Aug 2023 13:32:09 -0400 Subject: [PATCH] Update AUR package, fix errors. --- .SRCINFO | 3 ++- PKGBUILD | 5 +++-- dnsproxy-git.install | 4 ++-- 3 files changed, 7 insertions(+), 5 deletions(-) diff --git a/.SRCINFO b/.SRCINFO index e5c87f9..1208ca2 100644 --- a/.SRCINFO +++ b/.SRCINFO @@ -1,8 +1,9 @@ pkgbase = dnsproxy-git pkgdesc = Simple DNS proxy with DoH, DoT, DoQ and DNSCrypt support (git version) - pkgver = 0.48.3.r755.4f1c527 + pkgver = 0.48.3.r787.c060c2a pkgrel = 1 url = https://github.com/AdguardTeam/dnsproxy + install = dnsproxy-git.install arch = any license = Apache makedepends = git diff --git a/PKGBUILD b/PKGBUILD index a1b1710..609713f 100644 --- a/PKGBUILD +++ b/PKGBUILD @@ -1,6 +1,6 @@ # Maintainer: Fijxu zzls xyz> pkgname=dnsproxy-git -pkgver=0.48.3.r755.4f1c527 +pkgver=0.48.3.r787.c060c2a pkgrel=1 pkgdesc="Simple DNS proxy with DoH, DoT, DoQ and DNSCrypt support (git version)" arch=('any') @@ -10,6 +10,7 @@ makedepends=('git' 'go') provides=('dnsproxy') conflicts=(dnsproxy-bin dnsproxy-adguard) backup=(etc/dnsproxy/dnsproxy.yaml) +install=$pkgname.install source=("dnsproxy-git::git+https://github.com/AdguardTeam/dnsproxy.git" "dnsproxy.yaml" "dnsproxy.service") @@ -25,7 +26,7 @@ pkgver() { build() { cd "$pkgname" - go build -mod=vendor -v + make build } # Thanks "5long" for the package(), configuration files and systemd service diff --git a/dnsproxy-git.install b/dnsproxy-git.install index fe560b6..43e827c 100644 --- a/dnsproxy-git.install +++ b/dnsproxy-git.install @@ -1,7 +1,7 @@ -post_remove() { +post_install() { cat << EOF ==> Edit the /etc/dnsproxy/dnsproxy.yaml file after using or enabling the dnsproxy systemd service. EOF -} \ No newline at end of file +}