8 pkgdesc="Outliner and personal wiki with keeping the tree of notes in the form of directories on disk"
9 url="http://jenyay.net/Soft/Outwiker"
11 depends=('wxpython' 'pywebkitgtk')
12 optdepends=('mimetex: rendering of formulas'
13 'python-gnomeprint: printing non-latin symbols')
14 conflicts=(outwiker-bzr)
15 source=("http://jenyay.net/uploads/Soft/$_pkgname/$pkgname-$pkgver-1.deb")
22 ar x $pkgname-$pkgver-1.deb
23 tar xf data.tar.gz -C $pkgdir
26 for file in $(find . -name '*.py' -print); do
27 sed -i 's_#!.*/usr/bin/python_#!/usr/bin/python2_' $file
28 sed -i 's_#!.*/usr/bin/env.*python_#!/usr/bin/env python2_' $file
30 sed -i -e 's/python /python2 /' ${pkgdir}/usr/bin/$pkgname
31 find "$pkgdir"/usr/share/$pkgname -type f -exec chmod a-x,u+w {} \;
33 md5sums=('085fd861b40e1de9160f9f4c6b504f8d')