void-packages/srcpkgs/translate-shell/template
2020-10-25 18:43:22 +07:00

17 lines
620 B
Bash

# Template file for 'translate-shell'
pkgname=translate-shell
version=0.9.6.12
revision=2
build_style=gnu-makefile
make_build_args="$(vopt_if zsh TARGET=zsh)"
depends="gawk $(vopt_if zsh zsh bash)"
checkdepends="curl rlwrap emacs"
short_desc="Command-line online translator"
maintainer="SolitudeSF <solitudesf@protonmail.com>"
license="Unlicense"
homepage="https://www.soimort.org/translate-shell"
distfiles="https://github.com/soimort/translate-shell/archive/v${version}.tar.gz"
checksum=4c4843a8c66276190535b8435775ecb5d9c8286083a33cdbe2db608eba93ca97
build_options="zsh"
desc_option_zsh="Use zsh compatible wrapper"