summaryrefslogtreecommitdiff
path: root/community/espeakup
diff options
context:
space:
mode:
authorMichał Masłowski <mtjm@mtjm.eu>2012-10-25 18:46:01 +0200
committerMichał Masłowski <mtjm@mtjm.eu>2012-10-25 18:46:01 +0200
commit5833e11252fe4cc8a98860d8058eb9a5e468ee70 (patch)
tree2a9f6051350e5ded403cf65e81324e10f041827a /community/espeakup
parentaa59a87bb8860445bb3a4b233b44812b65b8c363 (diff)
parenta3b55a0c47a00ac40bc00a4ce87d93f809273840 (diff)
Merge branch 'master' of ssh://parabolagnulinux.org:1863/home/parabola/abslibre-pre-mips64el
Conflicts: community-testing/cegui/PKGBUILD community-testing/darktable/PKGBUILD community-testing/freewrl/PKGBUILD community-testing/gambas3/PKGBUILD community-testing/gource/PKGBUILD community-testing/luminancehdr/PKGBUILD community-testing/luxrays/PKGBUILD community-testing/luxrender/PKGBUILD community-testing/megaglest/PKGBUILD community-testing/openimageio/PKGBUILD community-testing/performous/PKGBUILD community-testing/projectm/PKGBUILD community-testing/rss-glx/PKGBUILD community-testing/sfml/PKGBUILD community-testing/spring/PKGBUILD community-testing/supertux/PKGBUILD community-testing/widelands/PKGBUILD community-testing/xbmc/PKGBUILD community-testing/xbmc/xbmc.install community/plan9port/PKGBUILD community/v8/PKGBUILD multilib/dev86/PKGBUILD testing/binutils/PKGBUILD testing/bzflag/PKGBUILD testing/calligra/PKGBUILD testing/cinepaint/PKGBUILD testing/coreutils/PKGBUILD testing/enblend-enfuse/PKGBUILD testing/gcc/PKGBUILD testing/gegl/PKGBUILD testing/glew/PKGBUILD testing/glibc/PKGBUILD testing/glibc/glibc.install testing/glibc/nscd.service testing/gnome-documents/PKGBUILD testing/hugin/PKGBUILD testing/inkscape/PKGBUILD testing/opencv/PKGBUILD testing/systemd/PKGBUILD testing/systemd/systemd.install testing/tracker/PKGBUILD testing/transcode/PKGBUILD testing/transcode/ffmpeg-0.11.patch testing/xf86-video-nouveau/PKGBUILD testing/xine-lib/PKGBUILD
Diffstat (limited to 'community/espeakup')
-rw-r--r--community/espeakup/PKGBUILD27
-rw-r--r--community/espeakup/espeakup.service12
2 files changed, 28 insertions, 11 deletions
diff --git a/community/espeakup/PKGBUILD b/community/espeakup/PKGBUILD
index 8fe21af60..0947ef7bd 100644
--- a/community/espeakup/PKGBUILD
+++ b/community/espeakup/PKGBUILD
@@ -1,26 +1,31 @@
-# $Id: PKGBUILD 65675 2012-02-21 21:13:11Z cbrannon $
-# Maintainer: Chris Brannon <chris@the-brannons.com>
+# $Id: PKGBUILD 78791 2012-10-24 23:06:54Z tomegun $
+# Contributor: Chris Brannon <chris@the-brannons.com>
+# Contributor: Kyle <kyle@gmx.ca>
pkgname=espeakup
pkgver=0.71
-pkgrel=4
+pkgrel=5
pkgdesc='Allows the Speakup screen review system to use the ESpeak synthesizer.'
arch=('i686' 'x86_64' 'mips64el')
url="http://github.com/williamh/espeakup"
license=('GPL3')
source=("ftp://linux-speakup.org/pub/linux/goodies/${pkgname}-${pkgver}.tar.bz2"
- espeakup espeakup.conf.d)
-md5sums=('03daa70b3db3f4f6fbb42c2ee428eda7'
- '7cf0abd493710ed924b7bb7c8d279fb3'
- '0f93974845b15efa12f5e7a74cc0eecd')
+ espeakup espeakup.conf.d espeakup.service)
depends=(speakup-utils espeak)
backup=(etc/conf.d/espeakup)
build() {
- cd "$srcdir"
- install -m755 -D espeakup "${pkgdir}/etc/rc.d/espeakup"
- install -m644 -D espeakup.conf.d "${pkgdir}/etc/conf.d/espeakup"
cd "$srcdir/$pkgname-$pkgver"
-
make
+}
+
+package() {
+ cd "$srcdir/$pkgname-$pkgver"
make DESTDIR="${pkgdir}" install
+ install -m755 -D "${srcdir}/espeakup" "${pkgdir}/etc/rc.d/espeakup"
+ install -m644 -D "${srcdir}/espeakup.conf.d" "${pkgdir}/etc/conf.d/espeakup"
+ install -m644 -D "${srcdir}/espeakup.service" "${pkgdir}/usr/lib/systemd/system/espeakup.service"
}
+md5sums=('03daa70b3db3f4f6fbb42c2ee428eda7'
+ '7cf0abd493710ed924b7bb7c8d279fb3'
+ '0f93974845b15efa12f5e7a74cc0eecd'
+ '0c11c50b128234cda8e1357e88cf7c43')
diff --git a/community/espeakup/espeakup.service b/community/espeakup/espeakup.service
new file mode 100644
index 000000000..58d7d47fa
--- /dev/null
+++ b/community/espeakup/espeakup.service
@@ -0,0 +1,12 @@
+[Unit]
+Description=Software speech output for Speakup
+
+[Service]
+Type=forking
+PIDFile=/run/espeakup.pid
+ExecStart=/usr/bin/espeakup
+ExecReload=/bin/kill -HUP $MAINPID
+Restart=always
+
+[Install]
+WantedBy=multi-user.target