milis/talimatname/genel/zim/talimat

20 lines
553 B
Plaintext
Raw Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

# Description: Wiki kavramını masaüstüne getirmeyi amaçlayan bir WYSIWYG metin editörü.
# URL: http://zim-wiki.org/
# Packager: Cihan Alkan
# Depends on: python-gtk dejavu-ttf
name=zim
version=0.67
release=1
source=(http://zim-wiki.org/downloads/$name-$version.tar.gz)
build() {
cd $name-$version
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
}