From f6f748de6eaa79b52542ff53140fa79307840a91 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: packr-2.8.0 --- srcpkgs/packr/template | 20 ++++++++++++++++++++ 1 file changed, 20 insertions(+) create mode 100644 srcpkgs/packr/template diff --git a/srcpkgs/packr/template b/srcpkgs/packr/template new file mode 100644 index 00000000000..49c3168d5ec --- /dev/null +++ b/srcpkgs/packr/template @@ -0,0 +1,20 @@ +# Template file for 'packr' +pkgname=packr +version=2.8.0 +revision=1 +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 + +pre_install() { + mv ${GOPATH}/bin/packr{2,} +} + +post_install() { + vlicense v2/LICENSE.txt +} From a602e522ac5c3bd526528069f96102a3a7b268f4 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 | 30 ++++++++++++++++++++++++++++++ 1 file changed, 30 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..8c9b0cd77e0 --- /dev/null +++ b/srcpkgs/circleci-cli/template @@ -0,0 +1,30 @@ +# 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="packr" +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() { + packr +} + +post_build() { + packr clean +} + +pre_install() { + mv ${GOPATH}/bin/circleci{-cli,} +} + +post_install() { + vlicense LICENSE +}