diff options
author | lizaifang | 2015-06-09 09:06:13 +0800 |
---|---|---|
committer | lizaifang | 2015-06-09 09:06:13 +0800 |
commit | 3d5ab97a31d7c3f0bc6e550e7f2dc17a0301c48b (patch) | |
tree | b30de73c699c04813689f5741f647034c8172475 /PKGBUILD | |
download | aur-myword.tar.gz |
Initial import
Diffstat (limited to 'PKGBUILD')
-rwxr-xr-x | PKGBUILD | 24 |
1 files changed, 24 insertions, 0 deletions
diff --git a/PKGBUILD b/PKGBUILD new file mode 100755 index 000000000000..41c178889d65 --- /dev/null +++ b/PKGBUILD @@ -0,0 +1,24 @@ +# Contributor: xifs <imxifs@gmail.com> + +pkgname=myword +pkgver=0.9.5 +pkgrel=1 +pkgdesc="A featureful word recite tool by tualatrix" +arch=('any') +url="http://imtx.cn/" +license=('GPL2') +depends=('python' 'pygtk' 'gnome-python') +provides=('myword' 'myword-book') + +source=("http://code-of-tualatrix.googlecode.com/files/myword_0.9.5-1.tar.gz") +md5sums=('572a204bd2775752c7179534720b8016') + +build() { + cd "$srcdir/myword" || return 1 + mkdir -p "$startdir/pkg/usr/share/myword" || return 1 + mkdir -p "$startdir/pkg/usr/share/applications" || return 1 + mkdir -p "$startdir/pkg/usr/bin" || return 1 + cp -rv src/* "$startdir/pkg/usr/share/myword/" || return 1 + cp -v myword.desktop "$startdir/pkg/usr/share/applications/myword.desktop" || return 1 + cp -v myword "$startdir/pkg/usr/bin/myword" || return 1 +} |