# Contributor: Thomas Kienlen # Maintainer: Thomas Kienlen pkgname=scalingo pkgver=1.29.1 pkgrel=1 pkgdesc="Command-line client for Scalingo PaaS" url="https://doc.scalingo.com/cli" arch="all" license="BSD-4-Clause" makedepends="go" source="https://github.com/Scalingo/cli/archive/$pkgver/cli-$pkgver.tar.gz" options="chmod-clean" builddir="$srcdir/cli-$pkgver" export GOCACHE="${GOCACHE:-"$srcdir/go-cache"}" export GOTMPDIR="${GOTMPDIR:-"$srcdir"}" export GOMODCACHE="${GOMODCACHE:-"$srcdir/go"}" build() { go build -trimpath -o bin/scalingo ./scalingo } check() { go test -v ./... } package() { install -Dm755 bin/scalingo "$pkgdir"/usr/bin/scalingo } sha512sums=" aabb9aba565a4ec57021b2ef2526f51c88b64d1a0725d0a95a2c0af33f66788f49ace17c66d16348ab9f597a708ef77442d3a5c931edebd8a083b053ef4b05e0 cli-1.29.1.tar.gz "