Commit 1f2c204f authored by Ian Bashford's avatar Ian Bashford
Browse files

testing/doggo: new aport

https://github.com/mr-karan/doggo
A modern command-line DNS client, additionally supporting DoH, DoT and
DNSCrypt protocols
parent 2921fe9d
Pipeline #105600 passed with stages
in 4 minutes and 48 seconds
# Contributor: Ian Bashford <ianbashford@gmail.com>
# Maintainer: Ian Bashford <ianbashford@gmail.com>
pkgname=doggo
pkgver=0.4.1
pkgrel=0
pkgdesc="A modern command-line DNS client, additionally supporting DoH, DoT and DNSCrypt protocols"
url="https://github.com/mr-karan/doggo"
arch="all"
license="GPL-3.0-only"
makedepends="go"
_builddate=$(date '+%Y-%m-%d %H:%M:%S')
source="$pkgname-$pkgver.tar.gz::https://github.com/mr-karan/doggo/archive/v$pkgver.tar.gz"
options="!check" #no test suite
build() {
go build -o $pkgname -v -ldflags="-s -w -X 'main.buildVersion=${pkgver}' -X 'main.buildDate=${_builddate}'" ./cmd/$pkgname/
}
package() {
install -m755 -D $pkgname "$pkgdir"/usr/bin/$pkgname
}
sha512sums="
4db19fe259ff535d160bb1011b178bb47fe6b8ff17728b00893f9de81b841aeb03113bb8ee4a3ebcff604362767b00cb078ee80b08b1386e00e72556f567fbe1 doggo-0.4.1.tar.gz
"
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment