[arch-commits] Commit in translate-shell/repos (2 files)

Felix Yan felixonmars at archlinux.org
Tue Jul 7 18:10:10 UTC 2020


    Date: Tuesday, July 7, 2020 @ 18:10:10
  Author: felixonmars
Revision: 660014

archrelease: copy trunk to community-staging-any

Added:
  translate-shell/repos/community-staging-any/
  translate-shell/repos/community-staging-any/PKGBUILD
    (from rev 660013, translate-shell/trunk/PKGBUILD)

----------+
 PKGBUILD |   38 ++++++++++++++++++++++++++++++++++++++
 1 file changed, 38 insertions(+)

Copied: translate-shell/repos/community-staging-any/PKGBUILD (from rev 660013, translate-shell/trunk/PKGBUILD)
===================================================================
--- community-staging-any/PKGBUILD	                        (rev 0)
+++ community-staging-any/PKGBUILD	2020-07-07 18:10:10 UTC (rev 660014)
@@ -0,0 +1,38 @@
+# Maintainer: Ivy Foster <code at escondida.tk>
+
+pkgname=translate-shell
+pkgver=0.9.6.11
+pkgrel=2
+pkgdesc='A command-line interface and interactive shell for Google Translate'
+arch=(any)
+url='https://www.soimort.org/translate-shell/'
+license=('custom:PublicDomain')
+depends=(bash gawk)
+optdepends=(
+	'aspell: spell checking'
+	'curl: openSSL support'
+	'fribidi: display right-to-left languages'
+	'hunspell: spell checking'
+	'less: terminal paging'
+	'mplayer: Text-to-Speech functionality'
+	'mpv: Text-to-Speech functionality'
+	'mpg123: Text-to-Speech functionality'
+	'espeak: Text-to-Speech functionality'
+	'rlwrap: readline-style editing and history in the interactive mode'
+	'emacs: Emacs interface'
+)
+
+source=("translate-shell-$pkgver.tar.gz::https://github.com/soimort/translate-shell/archive/v$pkgver.tar.gz")
+# checksums provided by packager, not upstream; take with a grain of salt.
+md5sums=(f40e7b0ee66e30ec15481336df58ecba)
+
+build() {
+	cd "translate-shell-$pkgver"
+	make
+}
+
+package() {
+	cd "translate-shell-$pkgver"
+	make PREFIX=/usr DESTDIR="$pkgdir" install
+	install -Dm644 LICENSE "$pkgdir/usr/share/licenses/translate-shell/LICENSE"
+}



More information about the arch-commits mailing list