Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
2 changed files
with
46 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Original file line | Diff line number | Diff line change |
---|---|---|---|
@@ -0,0 +1,26 @@ | |||
# Maintainer: David Scholl <djscholl at gmail dot com> | |||
pkgname=leo | |||
pkgver=4.10 | |||
pkgrel=2 | |||
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) | |||
md5sums=('5cf70fff15da57957d84b25842159467') | |||
|
|||
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 | |||
cd $pkgdir/usr/bin || return 1 | |||
ln -s ../../opt/leo/launchLeo.py leo || return 1 | |||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Original file line | Diff line number | Diff line change |
---|---|---|---|
@@ -0,0 +1,20 @@ | |||
# arg 1: the new package version | |||
post_install() { | |||
echo ">>> leo can be configured to use the python2-pyenchant package for spellchecking." | |||
} | |||
|
|||
# arg 1: the new package version | |||
# arg 2: the old package version | |||
post_upgrade() { | |||
post_install $1 | |||
} | |||
|
|||
# arg 1: the old package version | |||
pre_remove() { | |||
/bin/true | |||
} | |||
|
|||
op=$1 | |||
shift | |||
|
|||
$op "$@" |