Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
branch: master
Fetching contributors…

Cannot retrieve contributors at this time

34 lines (32 sloc) 1.228 kB
# Maintainer: David Scholl <djscholl at gmail dot com>
pkgname=leo
pkgver=4.10
pkgrel=3
pkgdesc="Literate programmer's editor, outliner, and project manager"
arch=('any')
url="http://webpages.charter.net/edreamleo/front.html"
license=('custom')
depends=('python2-pyqt')
makedepends=('unzip')
backup=('opt/leo/leo/config/leoSettings.leo')
install="leo.install"
source=(http://downloads.sourceforge.net/sourceforge/$pkgname/Leo-$pkgver-final.zip
leo.desktop
leo.xml)
md5sums=('5cf70fff15da57957d84b25842159467'
'fe65422281f7fcda8d1f11d457445496'
'b4c0250152aa6393d4a705fcccbad26b')
build() {
install -d $pkgdir/opt/$pkgname
cd $srcdir/Leo-$pkgver-final || return 1
sed 's/python/python2/' -i launchLeo.py || return 1
chmod a+x launchLeo.py || return 1
cp -R * $pkgdir/opt/$pkgname || return 1
install -D LICENSE.TXT $pkgdir/usr/share/licenses/$pkgname/LICENSE.TXT
install -d $pkgdir/usr/bin
install -D $srcdir/leo.desktop $pkgdir/usr/share/applications/leo.desktop
install -D $srcdir/leo.xml $pkgdir/usr/share/mime/packages/leo.xml
install -D leo/Icons/application-x-leo-outline.png $pkgdir/usr/share/pixmaps/leo.png
cd $pkgdir/usr/bin || return 1
ln -s ../../opt/leo/launchLeo.py leo || return 1
}
Jump to Line
Something went wrong with that request. Please try again.