summarylogtreecommitdiffstats
path: root/PKGBUILD
blob: 217f71e67c654e63cd604d475de4400acb231e8a (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
# Maintainer: Dawid Weglarz <dawid.weglarz95@gmail.com>

pkgname=dnss-git
pkgver=2020.11.19
pkgrel=1
pkgdesc="DNSS is a daemon for using DNS over HTTPS"
arch=(any)
url="https://github.com/albertito/dnss"
license=('Apache-2.0')
makedepends=('go' 'git')
conflicts=('dnss')
provides=('dnss')

prepare() {
  git clone --single-branch --no-tags --branch master https://github.com/albertito/dnss dnss-git
}

build() {
  cd dnss-git
  go build blitiri.com.ar/go/dnss
}

package() {
  install -Dvm755 "${pkgname}/dnss" -t "${pkgdir}/usr/bin"
}