updated on Thu Jan 19 00:16:31 UTC 2012
[aur-mirror.git] / gespeak / PKGBUILD
blob234a6aead9d91c6e450192058eab5293a7d87f49
1 #Contributor: Marcelo Cavalcante - kalib <kalib@archlinux-br.org>
2 #Contributor: Kessia Pinheiro - even <kessiapinheiro@gmail.com>
4 pkgname=gespeak
5 pkgver=0.3
6 pkgrel=1
7 pkgdesc="An espeak front-end written in Python with GTK2"
8 arch=('i686')
9 depends=('espeak')
10 license=('GPL3')
11 url="http://code.google.com/p/gespeak/"
12 source=("http://gespeak.googlecode.com/files/gespeak_${pkgver}.${pkgrel}_any.tar.gz")
13 md5sum=('bb2327bb2cf8d8a2df74abeda8aef08f')
15 build() {
16   cd "${srcdir}/any"
18   mkdir -p ${pkgdir}/usr/{bin/,share/{applications,gespeak,icons}}
19   install -D -m0755 bin/gespeak ${pkgdir}/usr/bin/ || return 1
20   install -D -m0644 share/applications/gespeak.desktop ${pkgdir}/usr/share/applications/ || return 1
21   cp -r share/gespeak ${pkgdir}/usr/share || return 1
22   install -D -m0644 share/icons/gespeak.png ${pkgdir}/usr/share/icons/ || return 1
23   echo "GeSpeak Installed!"