aboutsummaryrefslogtreecommitdiff
path: root/srcpkgs/transifex-cli/template
blob: 64fb4ab8c682543ea48d5ce43a20b2e0f73913d3 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
# Template file for 'transifex-cli'
pkgname=transifex-cli
version=1.6.6
revision=6
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="Orphaned <orphan@voidlinux.org>"
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=f73997b885a0d50f5201e1ead9b15c371fc8139bb94bdc4ba510b4e9530b196b

post_install() {
	mv ${DESTDIR}/usr/bin/{cli,transifex}
}

python3-transifex-client_package() {
	depends="${sourcepkg}>=${version}_${revision}"
	short_desc+=" (transitional dummy package)"
	build_style=meta
}