25 lines
800 B
Bash
25 lines
800 B
Bash
# Template file for 'transifex-cli'
|
|
pkgname=transifex-cli
|
|
version=1.6.4
|
|
revision=1
|
|
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 <tranzystorek.io@protonmail.com>"
|
|
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=4f3cfe6f987a89c1169db56e557355ae452b967c3b05f420076eef70a38bb4ab
|
|
|
|
post_install() {
|
|
mv ${DESTDIR}/usr/bin/{cli,transifex}
|
|
}
|
|
|
|
python3-transifex-client_package() {
|
|
depends="${sourcepkg}>=${version}_${revision}"
|
|
short_desc+=" (transitional dummy package)"
|
|
build_style=meta
|
|
}
|