# Contributor: Leo # Maintainer: pkgname=translate-shell pkgver=0.9.6.12 pkgrel=0 pkgdesc="Command-line online translator" options="!check" # x86_64 test fail without good info url="https://www.soimort.org/translate-shell" arch="noarch" license="Unlicense" depends="gawk bash" subpackages="$pkgname-doc" source="$pkgname-$pkgver.tar.gz::https://github.com/soimort/translate-shell/archive/v$pkgver.tar.gz drop-rlwrap-emacs-tests.patch " build() { make } check() { make check } package() { make install DESTDIR="$pkgdir" PREFIX=/usr } sha512sums="6cbdfd14b7004d0e37a4abee01bec87409137f1bb7a14a964936bf0a2ad704ea1fc04dcd8ab10404a5c2df105bf7a6a8b33ed02c75c1035a6900082f6dfbb20d translate-shell-0.9.6.12.tar.gz 9eae49f31e709c4802bd8952abddf98445129b793394289afddef96bf790e84065abe6b808ce19fda933a141dfc92522d38777c8310243185db7880954aff85c drop-rlwrap-emacs-tests.patch"