mirror of
https://gitlab.alpinelinux.org/alpine/aports.git
synced 2025-04-13 00:16:45 +02:00
32 lines
868 B
Text
32 lines
868 B
Text
# Contributor: Francesco Colista <fcolista@alpinelinux.org>
|
|
# Maintainer: Francesco Colista <fcolista@alpinelinux.org>
|
|
pkgname=sipexer
|
|
pkgver=1.2.0
|
|
pkgrel=2
|
|
pkgdesc="Modern and flexible SIP (RFC3261) command line tool."
|
|
url="https://github.com/miconda/sipexer"
|
|
arch="all"
|
|
license="GPL-3.0"
|
|
makedepends="go"
|
|
options="net"
|
|
source="$pkgname-$pkgver.tar.gz::https://github.com/miconda/sipexer/archive/refs/tags/v$pkgver.tar.gz"
|
|
|
|
export GOCACHE="${GOCACHE:-"$srcdir/go-cache"}"
|
|
export GOTMPDIR="${GOTMPDIR:-"$srcdir"}"
|
|
export GOMODCACHE="${GOMODCACHE:-"$srcdir/go"}"
|
|
|
|
build() {
|
|
go build -v -o bin/ ./...
|
|
}
|
|
|
|
check() {
|
|
go test ./...
|
|
}
|
|
|
|
package() {
|
|
install -m755 -D bin/sipexer "$pkgdir"/usr/bin/sipexer
|
|
}
|
|
|
|
sha512sums="
|
|
06318f394e79f6349461f5b886386a6da3ffdbf4963817809b28b42a56daab92b960041275cce5093c0bb32dfeaee10daa28b26e2095a597c63376b81dbd6479 sipexer-1.2.0.tar.gz
|
|
"
|