From 512106cc1a74e64a2f818589381b1dcfade506dc Mon Sep 17 00:00:00 2001 From: Gabriel Sanches Date: Fri, 25 Sep 2020 15:41:32 -0300 Subject: [PATCH 1/2] New package: packr2-2.8.0 --- srcpkgs/packr2/template | 18 ++++++++++++++++++ 1 file changed, 18 insertions(+) create mode 100644 srcpkgs/packr2/template diff --git a/srcpkgs/packr2/template b/srcpkgs/packr2/template new file mode 100644 index 00000000000..15b01438d58 --- /dev/null +++ b/srcpkgs/packr2/template @@ -0,0 +1,18 @@ +# Template file for 'packr2' +pkgname=packr2 +_pkgname=packr +version=2.8.0 +revision=1 +wrksrc=${_pkgname}-${version} +build_style=go +go_import_path=github.com/gobuffalo/${_pkgname}/v2/packr2 +short_desc="Static files embedder for Go binaries" +maintainer="Gabriel Sanches " +license="MIT" +homepage="https://github.com/gobuffalo/packr" +distfiles="https://github.com/gobuffalo/${_pkgname}/archive/v${version}.tar.gz" +checksum=2cab1e8d60734af05d594346f8e4bffcef0ac2aea4895b08bd9f3c40fc24c639 + +post_install() { + vlicense v2/LICENSE.txt +} From 9e3cd3db97bfd4d96d4c1c0053d237cfb9791d43 Mon Sep 17 00:00:00 2001 From: Gabriel Sanches Date: Wed, 23 Sep 2020 15:07:53 -0300 Subject: [PATCH 2/2] New package: circleci-cli-0.1.9578 --- srcpkgs/circleci-cli/template | 29 +++++++++++++++++++++++++++++ 1 file changed, 29 insertions(+) create mode 100644 srcpkgs/circleci-cli/template diff --git a/srcpkgs/circleci-cli/template b/srcpkgs/circleci-cli/template new file mode 100644 index 00000000000..0b4049bea15 --- /dev/null +++ b/srcpkgs/circleci-cli/template @@ -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 " +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,} +}