# Contributor: Leo # Maintainer: Leo pkgname=translate-shell pkgver=0.9.6.11 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="d4d376b3750e43e3de5b95790fea7fc91e94140526ac15ee9f7818554f95d410772c8f8887433b6fd4547f569b3d6f510c1bc1497d8237223c344dbb8f0ae87f translate-shell-0.9.6.11.tar.gz 9eae49f31e709c4802bd8952abddf98445129b793394289afddef96bf790e84065abe6b808ce19fda933a141dfc92522d38777c8310243185db7880954aff85c drop-rlwrap-emacs-tests.patch"