updated on Wed Jan 11 00:07:16 UTC 2012
[aur-mirror.git] / leo / PKGBUILD
blobe522e532d3b16659a3a8396b7fa36504deba16be
1 # Maintainer: David Scholl <djscholl at gmail dot com>
2 pkgname=leo
3 pkgver=4.9
4 pkgrel=1
5 pkgdesc="Literate programmer's editor, outliner, and project manager"
6 arch=('any')
7 url="http://webpages.charter.net/edreamleo/front.html"
8 license=('custom')
9 depends=('python2-pyqt')
10 makedepends=('unzip')
11 backup=('opt/leo/leo/config/leoSettings.leo')
12 install="leo.install"
13 source=(http://downloads.sourceforge.net/sourceforge/$pkgname/Leo-$pkgver-final-a.zip)
14 md5sums=('0bf1a127c4e1c74216537ba196fab344')
16 build() {
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