Date: Saturday, August 11, 2018 @ 22:43:25
  Author: escondida
Revision: 371189

archrelease: copy trunk to extra-any

Added:
  translate-shell/repos/extra-any/
  translate-shell/repos/extra-any/PKGBUILD
    (from rev 371188, translate-shell/trunk/PKGBUILD)

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

Copied: translate-shell/repos/extra-any/PKGBUILD (from rev 371188, 
translate-shell/trunk/PKGBUILD)
===================================================================
--- extra-any/PKGBUILD                          (rev 0)
+++ extra-any/PKGBUILD  2018-08-11 22:43:25 UTC (rev 371189)
@@ -0,0 +1,37 @@
+# Maintainer: Ivy Foster <c...@escondida.tk>
+
+pkgname=translate-shell
+pkgver=0.9.6.8
+pkgrel=1
+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";)
+# Checksum provided by packager, not upstream; grain of salt recommended.
+md5sums=(c030ac62f4821761c7443b4fd6d69b99)
+
+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"
+}

Reply via email to