2017-09-05 06:25:52 +02:00
|
|
|
|
# Description: Wiki kavramını masaüstüne getirmeyi amaçlayan bir WYSIWYG metin editörü.
|
2016-02-24 01:27:23 +01:00
|
|
|
|
# URL: http://zim-wiki.org/
|
2017-09-05 06:25:52 +02:00
|
|
|
|
# Packager: Cihan Alkan
|
|
|
|
|
# Depends on: python-gtk dejavu-ttf
|
2016-02-24 01:27:23 +01:00
|
|
|
|
|
|
|
|
|
name=zim
|
2017-09-05 06:25:52 +02:00
|
|
|
|
version=0.67
|
|
|
|
|
release=1
|
|
|
|
|
|
|
|
|
|
source=(http://zim-wiki.org/downloads/$name-$version.tar.gz)
|
2016-02-24 01:27:23 +01:00
|
|
|
|
|
|
|
|
|
build() {
|
|
|
|
|
cd $name-$version
|
2017-09-05 06:25:52 +02:00
|
|
|
|
for file in zim/inc/xdot.py; do
|
|
|
|
|
sed -i 's_#!/usr/bin/env python_#!/usr/bin/env python2_' $file
|
|
|
|
|
done
|
|
|
|
|
sed -i 's|\t\tinstall_class.run(self)|&\n\t\treturn None|' setup.py
|
|
|
|
|
python2 setup.py install --root=$PKG --optimize=1
|
2016-02-24 01:27:23 +01:00
|
|
|
|
}
|