mirror of
https://gitlab.alpinelinux.org/alpine/aports.git
synced 2025-07-25 12:15:32 +03:00
33 lines
897 B
Text
33 lines
897 B
Text
# Contributor: Anjandev Momi <anjan@momi.ca>
|
|
# Maintainer: Anjandev Momi <anjan@momi.ca>
|
|
pkgname=go-sendxmpp
|
|
pkgver=0.12.1
|
|
pkgrel=5
|
|
pkgdesc="Tool to send messages to an XMPP contact or MUC"
|
|
url="https://salsa.debian.org/mdosch/go-sendxmpp"
|
|
arch="all"
|
|
license="BSD-2-Clause"
|
|
makedepends="go"
|
|
source="$pkgname-v$pkgver.tar.gz::https://salsa.debian.org/mdosch/go-sendxmpp/-/archive/v$pkgver/go-sendxmpp-v$pkgver.tar.gz"
|
|
builddir="$srcdir/$pkgname-v$pkgver"
|
|
options="net"
|
|
|
|
export GOCACHE="${GOCACHE:-"$srcdir/go-cache"}"
|
|
export GOTMPDIR="${GOTMPDIR:-"$srcdir"}"
|
|
export GOMODCACHE="${GOMODCACHE:-"$srcdir/go"}"
|
|
|
|
build() {
|
|
go build
|
|
}
|
|
|
|
check() {
|
|
go test
|
|
}
|
|
|
|
package() {
|
|
install -Dm755 go-sendxmpp "$pkgdir"/usr/bin/go-sendxmpp
|
|
}
|
|
|
|
sha512sums="
|
|
c73c3cb6e2a6c05a772e3dc178cd7b1251b798fa8e534e0e8ac80f0e377f39c92d1ff44636f11b1a9a806720135275a08f2c06c24037824d34f37b652daef8ee go-sendxmpp-v0.12.1.tar.gz
|
|
"
|