From 58a3e93e7a59adee0498d9f82a2d537ac3f3a786 Mon Sep 17 00:00:00 2001 From: Enno Boland Date: Tue, 2 Feb 2021 10:30:50 +0100 Subject: [PATCH] New package: glab-1.14.0 --- srcpkgs/glab/files/gitlab-runner/run | 2 ++ srcpkgs/glab/template | 17 +++++++++++++++++ srcpkgs/glab/update | 3 +++ 3 files changed, 22 insertions(+) create mode 100644 srcpkgs/glab/files/gitlab-runner/run create mode 100644 srcpkgs/glab/template create mode 100644 srcpkgs/glab/update diff --git a/srcpkgs/glab/files/gitlab-runner/run b/srcpkgs/glab/files/gitlab-runner/run new file mode 100644 index 00000000000..5a137b78d9b --- /dev/null +++ b/srcpkgs/glab/files/gitlab-runner/run @@ -0,0 +1,2 @@ +#!/bin/sh +exec gitlab-runner run diff --git a/srcpkgs/glab/template b/srcpkgs/glab/template new file mode 100644 index 00000000000..46d85baf9b6 --- /dev/null +++ b/srcpkgs/glab/template @@ -0,0 +1,17 @@ +# Template file for 'glab' +pkgname=glab +version=1.14.0 +revision=1 +build_style=go +go_import_path=github.com/profclems/glab +go_package="${go_import_path}/cmd/glab" +short_desc="Command line tool bringing GitLab's features to your command line" +maintainer="Enno Boland " +license="MIT" +homepage="https://github.com/profclems/glab" +distfiles=https://github.com/profclems/$pkgname/archive/v$version.tar.gz +checksum=927206802cda67f0b725d0ed2b355a67ab9eb560a9e8b8c6e4ca994d9aba3daa + +post_install() { + vlicense ${wrksrc}/LICENSE +} diff --git a/srcpkgs/glab/update b/srcpkgs/glab/update new file mode 100644 index 00000000000..c846b50c8c8 --- /dev/null +++ b/srcpkgs/glab/update @@ -0,0 +1,3 @@ +site="https://gitlab.com/gitlab-org/gitlab-runner/tags" +pattern="v\K.*(?=)" +ignore="*rc*"