mirror of
https://github.com/void-linux/void-packages.git
synced 2025-07-31 01:42:56 +02:00
New package: circleci-cli-0.1.9578
This commit is contained in:
parent
e2b72becbc
commit
6ca0b5674f
1 changed files with 29 additions and 0 deletions
29
srcpkgs/circleci-cli/template
Normal file
29
srcpkgs/circleci-cli/template
Normal file
|
@ -0,0 +1,29 @@
|
||||||
|
# Template file for 'circleci-cli'
|
||||||
|
pkgname=circleci-cli
|
||||||
|
version=0.1.9578
|
||||||
|
revision=1
|
||||||
|
build_style=go
|
||||||
|
go_import_path=github.com/CircleCI-Public/${pkgname}
|
||||||
|
go_ldflags="-s -w -X github.com/CircleCI-Public/${pkgname}/version.Version=${version} -X github.com/CircleCI-Public/${pkgname}/version.Commit=cf6a918 -X github.com/CircleCI-Public/${pkgname}/version.packageManager=xbps"
|
||||||
|
hostmakedepends="packr2"
|
||||||
|
short_desc="Use CircleCI from the command line"
|
||||||
|
maintainer="Gabriel Sanches <gabriel@gsr.dev>"
|
||||||
|
license="MIT"
|
||||||
|
homepage="https://circleci-public.github.io/circleci-cli/"
|
||||||
|
distfiles="https://github.com/CircleCI-Public/${pkgname}/archive/v${version}.tar.gz"
|
||||||
|
checksum=d5dac07d27d97ee41dced89cf2b36dfeea17906343b6a6a21c1d8c4ca34a78a0
|
||||||
|
|
||||||
|
pre_build() {
|
||||||
|
packr2
|
||||||
|
}
|
||||||
|
|
||||||
|
post_build() {
|
||||||
|
packr2 clean
|
||||||
|
}
|
||||||
|
|
||||||
|
post_install() {
|
||||||
|
vlicense LICENSE
|
||||||
|
|
||||||
|
# Rename the binary according to CircleCI's own releases.
|
||||||
|
mv ${DESTDIR}/usr/bin/circleci{-cli,}
|
||||||
|
}
|
Loading…
Add table
Reference in a new issue