updated on Tue Jan 10 12:02:00 UTC 2012
[aur-mirror.git] / wordforge / PKGBUILD
blobe9ba86375c8c30108fad20aa1eb6ac93c8b0f6f3
1 # Contributor: Jaroslav Lichtblau <dragonlord@aur.archlinux.org>
3 pkgname=wordforge
4 pkgver=0.5_rc1
5 pkgrel=2
6 pkgdesc="A user friendly translation program (CAT), that makes the translation process simpler."
7 arch=('i686' 'x86_64')
8 url="http://translate.sourceforge.net/wiki/wordforge/index"
9 license=('GPL')
10 depends=('python' 'pyqt' 'translate-toolkit')
11 makedepends=('patch')
12 source=(http://downloads.sourceforge.net/wordforge2/WordForge-0.5-rc1.tar \
13         $pkgname.diff)
15 md5sums=('fcf99c0221a3140aca57d58b677efc73'
16          '5c41bdb82236d625b9d3fc151fc1e09f')
18 build() {
19   cd "${srcdir}/WordForge-0.5-rc1"
21   patch -Np0 -i "${srcdir}/$pkgname.diff" || return 1
23   python setup.py install --root="${pkgdir}" || return 1
25 #removing files provided by translate-toolkit
26   rm "${pkgdir}"/usr/bin/{csv2po,csv2tbx,html2po,lookupclient.py,lookupservice,moz2po,oo2po,oo2xliff,po2csv,po2html,po2moz,po2oo,po2prop,po2tmx,po2ts,po2txt,po2xliff,poclean,pocompile,poconflicts,pocount,podebug,pofilter,pogrep,pomerge,porestructure,poswap,pot2po,prop2po,ts2po,txt2po,xliff2oo,xliff2po} || return 1
28 #directory for dictionaries writable to all - if you wish
29 #  chmod 777 "${pgkdir}/usr/lib/python2.6/site-packages/WordForge/Editor/dict"  || return 1