1 # Contributor : eduard_pustobaev <eduard_pustobaev@mail.ru>
6 pkgdesc="LightLang - system of electronic dictionaries for Linux."
8 url="http://code.google.com/p/lightlang"
10 depends=('qt' 'pyqt' 'python2-pyqt' 'python-xlib' 'sox')
11 makedepends=('git' 'autoconf')
12 provides=('lightlang')
13 replaces=('lightlang-svn')
17 _gitroot="git://github.com/mdevaev/lightlang.git"
23 if [ -d $_gitname ]; then
24 msg "Updateing local repository..."
26 git pull origin master || return 1
27 msg "The local files are updated."
30 git clone $_gitroot --depth=1
33 msg "Git clone done or server timeout"
34 msg "Starting make..."
36 rm -rf $_gitname-build
37 cp -r $_gitname $_gitname-build
41 ./configure --with-python=python2 || return 1
43 make DESTDIR=$pkgdir install