mirror of
https://gitlab.alpinelinux.org/alpine/aports.git
synced 2025-07-13 11:19:50 +03:00
testing/xmpp-dns: new aport
This commit is contained in:
parent
208b830955
commit
4438edab36
1 changed files with 32 additions and 0 deletions
32
testing/xmpp-dns/APKBUILD
Normal file
32
testing/xmpp-dns/APKBUILD
Normal file
|
@ -0,0 +1,32 @@
|
|||
# Contributor: Anjandev Momi <anjan@momi.ca>
|
||||
# Maintainer: Anjandev Momi <anjan@momi.ca>
|
||||
pkgname=xmpp-dns
|
||||
pkgver=0.2.4
|
||||
pkgrel=0
|
||||
pkgdesc="CLI tool to check XMPP SRV records"
|
||||
url="https://salsa.debian.org/mdosch/xmpp-dns/"
|
||||
arch="all"
|
||||
license="BSD-2-Clause"
|
||||
makedepends="go"
|
||||
source="$pkgname-$pkgver.tar.gz::https://salsa.debian.org/mdosch/xmpp-dns/-/archive/v$pkgver/xmpp-dns-v$pkgver.tar.gz"
|
||||
builddir="$srcdir/$pkgname-v$pkgver"
|
||||
|
||||
build() {
|
||||
export GOFLAGS="$GOFLAGS -modcacherw"
|
||||
go build -o xmpp-dns
|
||||
}
|
||||
|
||||
check() {
|
||||
go fmt "$(go list ./... | grep -v /vendor/)"
|
||||
go vet "$(go list ./... | grep -v /vendor/)"
|
||||
go test "$(go list ./... | grep -v /vendor/)"
|
||||
}
|
||||
|
||||
package() {
|
||||
mkdir -p "$pkgdir"/usr/bin
|
||||
install xmpp-dns "$pkgdir"/usr/bin
|
||||
}
|
||||
|
||||
sha512sums="
|
||||
2e0b6b6bfd47a2d0b4a9809d0d0e80eda802503606f49421199ebd406a9dd66bf425a1247d4280bc43e182812a0a83047ef93c0f9c4152e7e421bcbac9489619 xmpp-dns-0.2.4.tar.gz
|
||||
"
|
Loading…
Add table
Add a link
Reference in a new issue