From 9110dd47d276c1b40a56dee6ab1945b07030b094 Mon Sep 17 00:00:00 2001 From: Marcin Puc Date: Mon, 18 Jul 2022 18:16:49 +0200 Subject: [PATCH] New package: transifex-cli-1.2.1 --- srcpkgs/transifex-cli/template | 19 +++++++++++++++++++ 1 file changed, 19 insertions(+) create mode 100644 srcpkgs/transifex-cli/template diff --git a/srcpkgs/transifex-cli/template b/srcpkgs/transifex-cli/template new file mode 100644 index 00000000000..737c2e64688 --- /dev/null +++ b/srcpkgs/transifex-cli/template @@ -0,0 +1,19 @@ +# Template file for 'transifex-cli' +pkgname=transifex-cli +version=1.2.1 +revision=1 +wrksrc="cli-${version}" +build_style=go +go_import_path="github.com/transifex/cli" +go_ldflags="-X github.com/transifex/cli/internal/txlib.Version=${version}" +short_desc="Transifex command-line client" +maintainer="Marcin Puc " +license="Apache-2.0" +homepage="https://github.com/transifex/cli" +changelog="https://github.com/transifex/cli/releases" +distfiles="https://github.com/transifex/cli/archive/refs/tags/v${version}.tar.gz" +checksum=f8a76381294cdd75872de5b69acf2781d912e3a7e5e870bc41f0ee358715a3be + +post_install() { + mv ${DESTDIR}/usr/bin/{cli,transifex} +}