diff options
author | edward-p | 2019-03-26 11:33:18 +0800 |
---|---|---|
committer | edward-p | 2019-03-26 11:33:18 +0800 |
commit | 0953b52994b219993e4d9555611a5cd61d34c0a1 (patch) | |
tree | a9648b1d4ec54e84a580c68ff61ec0b0992fca96 /PKGBUILD | |
download | aur-0953b52994b219993e4d9555611a5cd61d34c0a1.tar.gz |
initial commit
Diffstat (limited to 'PKGBUILD')
-rw-r--r-- | PKGBUILD | 23 |
1 files changed, 23 insertions, 0 deletions
diff --git a/PKGBUILD b/PKGBUILD new file mode 100644 index 000000000000..6299144d1483 --- /dev/null +++ b/PKGBUILD @@ -0,0 +1,23 @@ +# Maintainer: Edward Pacman <edward@edward-p.xyz> + +_projectname=dnsproxy +pkgname=dnsproxy-adguard +pkgver=0.12.0 +pkgrel=1 +pkgdesc="Simple DNS proxy with DoH, DoT, and DNSCrypt support by AdguardTeam" +arch=('x86_64') +url="https://github.com/AdguardTeam/dnsproxy" +license=('Apache') +source=("${pkgname}-${pkgver}.tar.gz"::"https://github.com/AdguardTeam/dnsproxy/archive/v0.12.0.tar.gz") +makedepends=("go" "git") +sha256sums=('a9db3de07c13747668cf8837e0db5a85bdca9c79faba3ffc68edeba403338c30') + +build(){ + cd "${srcdir}/${_projectname}-${pkgver}" + go build +} + +package() { + cd "${srcdir}/${_projectname}-${pkgver}" + install -Dm755 dnsproxy "${pkgdir}/usr/bin/${pkgname}" +}
\ No newline at end of file |