1 # Maintainer: David Scholl <djscholl at gmail dot com>
5 pkgdesc="Literate programmer's editor, outliner, and project manager"
7 url="http://webpages.charter.net/edreamleo/front.html"
9 depends=('python2-pyqt')
11 backup=('opt/leo/leo/config/leoSettings.leo')
13 source=(http://downloads.sourceforge.net/sourceforge/$pkgname/Leo-$pkgver-final-a.zip)
14 md5sums=('0bf1a127c4e1c74216537ba196fab344')
17 install -d $pkgdir/opt/$pkgname
18 cd $srcdir/Leo-$pkgver-final || return 1
19 sed 's/python/python2/' -i launchLeo.py || return 1
20 cp -R * $pkgdir/opt/$pkgname || return 1
21 install -D LICENSE.TXT $pkgdir/usr/share/licenses/$pkgname/LICENSE.TXT
22 install -d $pkgdir/usr/bin
23 cd $pkgdir/usr/bin || return 1
24 ln -s ../../opt/leo/launchLeo.py leo || return 1