# Contributor: Olliver Schinagl # Maintainer: Olliver Schinagl pkgname=gitlab-release-cli pkgver=0.15.0 pkgrel=3 pkgdesc="GitLab Release command-line tool" url="https://gitlab.com/gitlab-org/release-cli" license="MIT" arch="all" makedepends="go" options="!check" # No selftest available subpackages="$pkgname-doc" source="https://gitlab.com/gitlab-org/release-cli/-/archive/v$pkgver/release-cli-v$pkgver.tar.bz2" builddir="$srcdir/${pkgname##gitlab-}-v$pkgver" export GOCACHE="${GOCACHE:-"$srcdir/go-cache"}" export GOTMPDIR="${GOTMPDIR:-"$srcdir"}" export GOMODCACHE="${GOMODCACHE:-"$srcdir/go"}" build() { make build } package() { install -D -m 0755 "$builddir/bin/release-cli" \ "$pkgdir/usr/bin/release-cli" install -D -d "$pkgdir/usr/share/doc/$pkgname" cp -T -a "$builddir/docs/" "$pkgdir/usr/share/doc/$pkgname" } sha512sums=" d8f09d39d77cb93b927af8cc571ad70da95dcd8e447c1672d32aa27f296f0ff7abd2483bba610ac2389da499bdc5fb56931d0cd162060a5eebec8259175d2955 release-cli-v0.15.0.tar.bz2 "