Update AUR package, fix errors.
This commit is contained in:
parent
2ebbd9bddf
commit
e061aaa68c
3 changed files with 7 additions and 5 deletions
3
.SRCINFO
3
.SRCINFO
|
@ -1,8 +1,9 @@
|
||||||
pkgbase = dnsproxy-git
|
pkgbase = dnsproxy-git
|
||||||
pkgdesc = Simple DNS proxy with DoH, DoT, DoQ and DNSCrypt support (git version)
|
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
|
pkgrel = 1
|
||||||
url = https://github.com/AdguardTeam/dnsproxy
|
url = https://github.com/AdguardTeam/dnsproxy
|
||||||
|
install = dnsproxy-git.install
|
||||||
arch = any
|
arch = any
|
||||||
license = Apache
|
license = Apache
|
||||||
makedepends = git
|
makedepends = git
|
||||||
|
|
5
PKGBUILD
5
PKGBUILD
|
@ -1,6 +1,6 @@
|
||||||
# Maintainer: Fijxu <fijxu <at> zzls <dot> xyz>
|
# Maintainer: Fijxu <fijxu <at> zzls <dot> xyz>
|
||||||
pkgname=dnsproxy-git
|
pkgname=dnsproxy-git
|
||||||
pkgver=0.48.3.r755.4f1c527
|
pkgver=0.48.3.r787.c060c2a
|
||||||
pkgrel=1
|
pkgrel=1
|
||||||
pkgdesc="Simple DNS proxy with DoH, DoT, DoQ and DNSCrypt support (git version)"
|
pkgdesc="Simple DNS proxy with DoH, DoT, DoQ and DNSCrypt support (git version)"
|
||||||
arch=('any')
|
arch=('any')
|
||||||
|
@ -10,6 +10,7 @@ makedepends=('git' 'go')
|
||||||
provides=('dnsproxy')
|
provides=('dnsproxy')
|
||||||
conflicts=(dnsproxy-bin dnsproxy-adguard)
|
conflicts=(dnsproxy-bin dnsproxy-adguard)
|
||||||
backup=(etc/dnsproxy/dnsproxy.yaml)
|
backup=(etc/dnsproxy/dnsproxy.yaml)
|
||||||
|
install=$pkgname.install
|
||||||
source=("dnsproxy-git::git+https://github.com/AdguardTeam/dnsproxy.git"
|
source=("dnsproxy-git::git+https://github.com/AdguardTeam/dnsproxy.git"
|
||||||
"dnsproxy.yaml"
|
"dnsproxy.yaml"
|
||||||
"dnsproxy.service")
|
"dnsproxy.service")
|
||||||
|
@ -25,7 +26,7 @@ pkgver() {
|
||||||
|
|
||||||
build() {
|
build() {
|
||||||
cd "$pkgname"
|
cd "$pkgname"
|
||||||
go build -mod=vendor -v
|
make build
|
||||||
}
|
}
|
||||||
|
|
||||||
# Thanks "5long" for the package(), configuration files and systemd service
|
# Thanks "5long" for the package(), configuration files and systemd service
|
||||||
|
|
|
@ -1,7 +1,7 @@
|
||||||
post_remove() {
|
post_install() {
|
||||||
cat << EOF
|
cat << EOF
|
||||||
|
|
||||||
==> Edit the /etc/dnsproxy/dnsproxy.yaml file after using or enabling the dnsproxy systemd service.
|
==> Edit the /etc/dnsproxy/dnsproxy.yaml file after using or enabling the dnsproxy systemd service.
|
||||||
|
|
||||||
EOF
|
EOF
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue