updated on Tue Jan 10 00:10:07 UTC 2012
[aur-mirror.git] / milena-gtk / PKGBUILD
blob5a854db422af51d3a91dff0ae8db6c394e103848
1 # Maintainer: 3ED <krzysztof1987 _at_ gmail _dot_ com>
3 pkgname=milena-gtk
4 _pkgname=milena_gtk
5 pkgver=0.2
6 pkgrel=1
7 pkgdesc="Gtk2 gui Milena speech synthesizer (screen reader, etc)"
8 arch=(any)
9 url="http://milena.polip.com/"
10 license=('GPL')
11 depends=('milena' 'python-xlib')
12 source=("http://tts.polip.com/files/${_pkgname}-${pkgver}.tar.gz"
13         "python2+iconpath.patch"
14         "milena-gtk.desktop")
15 sha256sums=('31732eaaa5ea3b3f4a0012098092928f261a90745c4e7f4e8c3808f318339c15'
16             'e3aac040cd31af92e5135be1bf451a68fab7c71ec871b4a75a70133a0ec0ed1b'
17             'd0cd16c5101926e8c5de2841357ad0c2f0b19c6cf07b917a2b8a96f511efa778')
19 build() {
20   cd "$srcdir/${_pkgname}"
22   patch -Np0 < ../python2+iconpath.patch || return 1
24   install -dm755 "$pkgdir/usr/"{bin,share/{pixmaps,applications,doc/$pkgname}} || return 1
26   install -m755 "milena_gtk.py" "$pkgdir/usr/bin/$pkgname" || return 1
27   install -m644 "README" "$pkgdir/usr/share/doc/$pkgname/" || return 1
28   install -m644 "milena_tray1.png" "$pkgdir/usr/share/pixmaps/milena-gtk.png" || return 1
29   install -m644 "../milena-gtk.desktop" "$pkgdir/usr/share/applications/" || return 1
32 # vim:set ts=2 sw=2 et: