[arch-commits] Commit in gespeaker/repos (3 files)

Fabio Castelli muflone at archlinux.org
Sun Sep 7 18:23:23 UTC 2014


    Date: Sunday, September 7, 2014 @ 20:23:23
  Author: muflone
Revision: 118613

db-move: moved gespeaker from [community-testing] to [community] (any)

Added:
  gespeaker/repos/community-any/
  gespeaker/repos/community-any/PKGBUILD
    (from rev 118612, gespeaker/repos/community-testing-any/PKGBUILD)
Deleted:
  gespeaker/repos/community-testing-any/

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

Copied: gespeaker/repos/community-any/PKGBUILD (from rev 118612, gespeaker/repos/community-testing-any/PKGBUILD)
===================================================================
--- community-any/PKGBUILD	                        (rev 0)
+++ community-any/PKGBUILD	2014-09-07 18:23:23 UTC (rev 118613)
@@ -0,0 +1,40 @@
+# $Id$
+# Maintainer: Muflone http://www.muflone.com/contacts/english/
+# Contributor: archtux <antonio dot arias99999 at gmail dot com>
+
+pkgname=gespeaker
+pkgver=0.8.4
+pkgrel=4
+pkgdesc="A GTK+ frontend for espeak and mbrola to speech the read text."
+url="http://www.muflone.com/gespeaker/"
+arch=('any')
+license=('GPL2')
+depends=('espeak' 'librsvg' 'pygtk' 'python2-dbus' 'python2-xdg' 'alsa-utils')
+optdepends=('mbrola: for enhanced mbrola voices support'
+            'mbrola-voices: at least one mbrola voice'
+            'libpulse: PulseAudio output')
+provides=('gespeaker')
+source=("${pkgname}-${pkgver}.tar.gz"::"https://github.com/muflone/${pkgname}/archive/${pkgver}.tar.gz")
+md5sums=('63c7a8b9ef3db4340eb197e4860dc244')
+sha1sums=('ce8987f81f7ff523cd7b127888ed7d59dbd96473')
+sha256sums=('1b4465ae54fbcc91a89213b90c2ae55881640abcab84d5150f62b9527b1e96ec')
+
+prepare() {
+  cd "${pkgname}-${pkgver}"
+  # Python2 fix
+  for _file in setup.py gespeaker src/gespeaker.py
+  do
+    sed -i 's#env python#env python2#' "${_file}"
+  done
+}
+
+build() {
+  cd "${pkgname}-${pkgver}"
+  python2 setup.py build
+}
+
+package() {
+  cd "${pkgname}-${pkgver}"
+  python2 setup.py install --optimize=1 --root "${pkgdir}"
+}
+




More information about the arch-commits mailing list