[arch-commits] Commit in espeak-ng/repos/community-x86_64 (PKGBUILD PKGBUILD)

Daniel M. Capella polyzen at archlinux.org
Sat Mar 28 17:24:32 UTC 2020


    Date: Saturday, March 28, 2020 @ 17:24:31
  Author: polyzen
Revision: 605328

archrelease: copy trunk to community-x86_64

Added:
  espeak-ng/repos/community-x86_64/PKGBUILD
    (from rev 605327, espeak-ng/trunk/PKGBUILD)
Deleted:
  espeak-ng/repos/community-x86_64/PKGBUILD

----------+
 PKGBUILD |   81 ++++++++++++++++++++++++++++++++++++-------------------------
 1 file changed, 48 insertions(+), 33 deletions(-)

Deleted: PKGBUILD
===================================================================
--- PKGBUILD	2020-03-28 17:23:38 UTC (rev 605327)
+++ PKGBUILD	2020-03-28 17:24:31 UTC (rev 605328)
@@ -1,33 +0,0 @@
-# Maintainer: Daniel M. Capella <polyzen at archlinux.org>
-
-pkgname=espeak-ng
-pkgver=1.50
-pkgrel=1
-pkgdesc='Multi-lingual software speech synthesizer'
-url=https://github.com/espeak-ng/espeak-ng
-arch=('x86_64')
-license=('GPL3')
-depends=('pcaudiolib')
-makedepends=('ruby-ronn')
-conflicts=('espeak')
-source=("$url/archive/$pkgver/$pkgname-$pkgver.tar.gz")
-sha512sums=('297dd80a6cdae3e2b8acf6823475220ce89d6a5fb68ea303156ad52cb3e7388049b6921759d4ed4e3d2e2ebd19bf931259e454f74a2ac0b7ecf4ce56c1d60c0c')
-
-prepare() {
-  cd $pkgname-$pkgver
-  ./autogen.sh
-}
-
-build() {
-  cd $pkgname-$pkgver
-  ./configure --prefix=/usr --with-extdict-{ru,zh,zhy}
-  make src/espeak-ng src/speak-ng
-  make -j1
-}
-
-package() {
-  cd $pkgname-$pkgver
-  make DESTDIR="$pkgdir" install
-}
-
-# vim:set ts=2 sw=2 et:

Copied: espeak-ng/repos/community-x86_64/PKGBUILD (from rev 605327, espeak-ng/trunk/PKGBUILD)
===================================================================
--- PKGBUILD	                        (rev 0)
+++ PKGBUILD	2020-03-28 17:24:31 UTC (rev 605328)
@@ -0,0 +1,48 @@
+# Maintainer: Daniel M. Capella <polyzen at archlinux.org>
+
+pkgname=('espeak-ng' 'espeak-ng-espeak')
+pkgbase=espeak-ng
+pkgver=1.50
+pkgrel=2
+pkgdesc='Multi-lingual software speech synthesizer'
+url=https://github.com/espeak-ng/espeak-ng
+arch=('x86_64')
+license=('GPL3')
+makedepends=('pcaudiolib' 'ruby-ronn')
+source=("$url/archive/$pkgver/espeak-ng-$pkgver.tar.gz")
+sha512sums=('297dd80a6cdae3e2b8acf6823475220ce89d6a5fb68ea303156ad52cb3e7388049b6921759d4ed4e3d2e2ebd19bf931259e454f74a2ac0b7ecf4ce56c1d60c0c')
+
+prepare() {
+  cd espeak-ng-$pkgver
+  ./autogen.sh
+}
+
+build() {
+  cd espeak-ng-$pkgver
+  ./configure --prefix=/usr --with-extdict-{ru,zh,zhy}
+  make src/espeak-ng src/speak-ng
+  make -j1
+}
+
+package_espeak-ng() {
+  depends=('pcaudiolib')
+  optdepends=('espeak-ng-espeak: for *speak symlinks')
+  cd espeak-ng-$pkgver
+  make DESTDIR="$pkgdir" install
+  mv "$pkgdir"/usr/share/vim/{addons,vimfiles}
+  rm -r "$pkgdir"/usr/{bin/*speak,include/espeak,share/vim/registry}
+}
+
+package_espeak-ng-espeak() {
+  pkgdesc+=' (*speak symlinks)'
+  depends=('espeak-ng')
+  conflicts=('espeak')
+  install -d "$pkgdir"/usr/{bin,include/espeak,share/man/man1}
+  ln -s /usr/bin/espeak-ng "$pkgdir"/usr/bin/espeak
+  ln -s /usr/bin/speak-ng "$pkgdir"/usr/bin/speak
+  ln -s /usr/include/espeak-ng/speak_lib.h "$pkgdir"/usr/include/espeak/speak_lib.h
+  ln -s /usr/share/man/man1/espeak-ng.1.gz "$pkgdir"/usr/share/man/man1/espeak.1.gz
+  ln -s /usr/share/man/man1/speak-ng.1.gz "$pkgdir"/usr/share/man/man1/speak.1.gz
+}
+
+# vim:set ts=2 sw=2 et:



More information about the arch-commits mailing list