mirror of
https://gitlab.alpinelinux.org/alpine/aports.git
synced 2025-07-23 19:25:25 +03:00
32 lines
881 B
Text
32 lines
881 B
Text
# Contributor: Anjandev Momi <anjan@momi.ca>
|
|
# Maintainer: Anjandev Momi <anjan@momi.ca>
|
|
pkgname=go-sendxmpp
|
|
pkgver=0.5.5
|
|
pkgrel=4
|
|
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"
|
|
|
|
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="
|
|
50136307e319e4f61b399d295d8836a733cad9ff0319de5686552639438d582d16dde934d54d9e98a2a5062bfe7b8414785b82f8852a4c5a23a12eab269c03bb go-sendxmpp-v0.5.5.tar.gz
|
|
"
|