[arch-commits] Commit in translate-shell/repos/community-any (PKGBUILD PKGBUILD)

Ivy Foster escondida at gemini.archlinux.org
Wed Oct 27 17:29:13 UTC 2021


    Date: Wednesday, October 27, 2021 @ 17:29:12
  Author: escondida
Revision: 1034733

archrelease: copy trunk to community-any

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

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

Deleted: PKGBUILD
===================================================================
--- PKGBUILD	2021-10-27 17:28:48 UTC (rev 1034732)
+++ PKGBUILD	2021-10-27 17:29:12 UTC (rev 1034733)
@@ -1,38 +0,0 @@
-# Maintainer: Ivy Foster <code at escondida.tk>
-
-pkgname=translate-shell
-pkgver=0.9.6.12
-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")
-# checksums provided by packager, not upstream; take with a grain of salt.
-md5sums=('9c7f554eca69ed6689083a271698e360')
-
-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"
-}

Copied: translate-shell/repos/community-any/PKGBUILD (from rev 1034732, translate-shell/trunk/PKGBUILD)
===================================================================
--- PKGBUILD	                        (rev 0)
+++ PKGBUILD	2021-10-27 17:29:12 UTC (rev 1034733)
@@ -0,0 +1,42 @@
+# Maintainer: Ivy Foster <iff at archlinux.org>
+
+pkgname=translate-shell
+pkgver=0.9.6.12
+pkgrel=2
+pkgdesc='A command-line interface and interactive shell for Google Translate'
+arch=(any)
+url='https://www.soimort.org/translate-shell/'
+license=(Unlicense)
+depends=(bash gawk)
+makedepends=(git)
+optdepends=(
+	'aspell: spell checking'
+	'curl: openSSL support'
+	'emacs: Emacs interface'
+	'espeak-ng: Text-to-Speech functionality'
+	'fribidi: display right-to-left languages'
+	'hunspell: spell checking'
+	'less: terminal paging'
+	'mpg123: Text-to-Speech functionality'
+	'mplayer: Text-to-Speech functionality'
+	'mpv: Text-to-Speech functionality'
+	'rlwrap: readline-style editing and history in the interactive mode'
+)
+
+# They do offer a sha1sum and a PGP signature on their homepage,
+# but they're only for the standalone script, not for the whole package.
+# Easiest thing at this point is to pin to release commits on github,
+# since they do sign their commits.
+source=('git+https://github.com/soimort/translate-shell.git#commit=46e2a14fff1de5bb97d286e78fa2221b3a1eab37?signed')
+md5sums=(SKIP)
+validpgpkeys=(8A9CA65383B671BC995CCEAE07DA00CB78203251)
+
+build() {
+	cd translate-shell
+	make
+}
+
+package() {
+	cd translate-shell
+	make PREFIX=/usr DESTDIR="$pkgdir" install
+}



More information about the arch-commits mailing list