updated on Tue Jan 10 12:02:00 UTC 2012
[aur-mirror.git] / myword / PKGBUILD
blob41c178889d658db6341be93a285fcf11028c4e22
1 # Contributor: xifs <imxifs@gmail.com>
3 pkgname=myword
4 pkgver=0.9.5
5 pkgrel=1
6 pkgdesc="A featureful word recite tool by tualatrix"
7 arch=('any')
8 url="http://imtx.cn/"
9 license=('GPL2')
10 depends=('python' 'pygtk' 'gnome-python')
11 provides=('myword' 'myword-book')
13 source=("http://code-of-tualatrix.googlecode.com/files/myword_0.9.5-1.tar.gz")
14 md5sums=('572a204bd2775752c7179534720b8016')
16 build() {
17         cd "$srcdir/myword"  || return 1
18         mkdir -p "$startdir/pkg/usr/share/myword" || return 1
19         mkdir -p "$startdir/pkg/usr/share/applications" || return 1
20         mkdir -p "$startdir/pkg/usr/bin" || return 1
21         cp -rv src/* "$startdir/pkg/usr/share/myword/"  || return 1
22         cp -v myword.desktop "$startdir/pkg/usr/share/applications/myword.desktop"  || return 1
23         cp -v myword "$startdir/pkg/usr/bin/myword"  || return 1