diff options
author | Ivy Foster | 2015-05-26 20:12:11 -0500 |
---|---|---|
committer | Ivy Foster | 2015-05-26 20:12:11 -0500 |
commit | 12c886153ed231f2341c99d4479737f2ed4ad99e (patch) | |
tree | 4716fc15050d32e82b9deb84338fbcfe78b28800 | |
download | aur-12c886153ed231f2341c99d4479737f2ed4ad99e.tar.gz |
Initial commit
-rw-r--r-- | .SRCINFO | 23 | ||||
-rw-r--r-- | PKGBUILD | 42 |
2 files changed, 65 insertions, 0 deletions
diff --git a/.SRCINFO b/.SRCINFO new file mode 100644 index 000000000000..38f566618c4f --- /dev/null +++ b/.SRCINFO @@ -0,0 +1,23 @@ +pkgbase = translate-shell-git + pkgdesc = A command-line interface and interactive shell for Google Translate. + pkgver = v0.9.0.4.7.g1a4d83e + pkgrel = 1 + url = http://www.soimort.org/translate-shell/ + arch = i686 + arch = x86_64 + license = custom:PublicDomain + makedepends = git + optdepends = fribidi: display right-to-left languages + optdepends = mplayer: Text-to-Speech functionality + optdepends = mplayer2: Text-to-Speech functionality + optdepends = mpv: Text-to-Speech functionality + optdepends = mpg123: Text-to-Speech functionality + optdepends = espeak: Text-to-Speech functionality + optdepends = rlwrap: readline-style editing and history in the interactive mode + optdepends = emacs: Emacs interface + provides = translate-shell + source = git://github.com/soimort/translate-shell.git + md5sums = SKIP + +pkgname = translate-shell-git + diff --git a/PKGBUILD b/PKGBUILD new file mode 100644 index 000000000000..5d121f8e8f78 --- /dev/null +++ b/PKGBUILD @@ -0,0 +1,42 @@ +# Maintainer: Ivy Foster <joyfulgirl@archlinux.us> +# Contributor: Star Brilliant <echo bTEzMjUzQGhvdG1haWwuY29tCg== | base64 -d> + +pkgname=translate-shell-git +_gitname=translate-shell +pkgver=v0.9.0.4.7.g1a4d83e +pkgrel=1 +pkgdesc='A command-line interface and interactive shell for Google Translate.' +arch=('i686' 'x86_64') +url="http://www.soimort.org/translate-shell/" +license=('custom:PublicDomain') +makedepends=('git') +optdepends=( + 'fribidi: display right-to-left languages' + 'mplayer: Text-to-Speech functionality' + 'mplayer2: 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' +) +provides=('translate-shell') +source=("git://github.com/soimort/${_gitname}.git") +md5sums=('SKIP') + +pkgver() { + cd $_gitname + git describe --always | sed 's|-|.|g' +} + +build() { + cd $_gitname + make +} + +package() { + cd $_gitname + install -d "${pkgdir}"/usr/{bin,share/man/man1} + make PREFIX="${pkgdir}"/usr install + install -Dm644 LICENSE "${pkgdir}"/usr/share/licenses/${_gitname}/LICENSE +} |