diff options
Diffstat (limited to 'community/espeakup/PKGBUILD')
-rw-r--r-- | community/espeakup/PKGBUILD | 27 |
1 files changed, 16 insertions, 11 deletions
diff --git a/community/espeakup/PKGBUILD b/community/espeakup/PKGBUILD index ca2fcd40b..a7eab9de6 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') 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') |