zim.paketlendi
This commit is contained in:
parent
57502edeeb
commit
2801b9a6c5
2 changed files with 16 additions and 15 deletions
|
@ -1,18 +1,19 @@
|
||||||
# Description: Wiki konsepti icin tasarlanmis WYSIWYG metin editoru
|
# Description: Wiki kavramını masaüstüne getirmeyi amaçlayan bir WYSIWYG metin editörü.
|
||||||
# URL: http://zim-wiki.org/
|
# URL: http://zim-wiki.org/
|
||||||
# Packager: milisarge
|
# Packager: Cihan Alkan
|
||||||
# Depends on: python-gtk dejavu-ttf desktop-file-utils
|
# Depends on: python-gtk dejavu-ttf
|
||||||
|
|
||||||
run=(dejavu-ttf desktop-file-utils shared-mime-info)
|
|
||||||
name=zim
|
name=zim
|
||||||
version=0.60
|
version=0.67
|
||||||
release=2
|
release=1
|
||||||
source=(http://www.zim-wiki.org/downloads/$name-$version.tar.gz)
|
|
||||||
|
source=(http://zim-wiki.org/downloads/$name-$version.tar.gz)
|
||||||
|
|
||||||
build() {
|
build() {
|
||||||
cd $name-$version
|
cd $name-$version
|
||||||
# zim's setup.py subclasses distutil's install class, adding a flag to
|
for file in zim/inc/xdot.py; do
|
||||||
# disable running update-desktop-database and update-mime-database
|
sed -i 's_#!/usr/bin/env python_#!/usr/bin/env python2_' $file
|
||||||
# during the install: --skip-xdg-cmd
|
done
|
||||||
python2 setup.py install --prefix=/usr --root=$PKG --skip-xdg-cmd
|
sed -i 's|\t\tinstall_class.run(self)|&\n\t\treturn None|' setup.py
|
||||||
|
python2 setup.py install --root=$PKG --optimize=1
|
||||||
}
|
}
|
||||||
|
|
|
@ -1,6 +1,6 @@
|
||||||
if [ -x usr/bin/update-desktop-database ]; then
|
if [ -x /usr/bin/update-desktop-database ]; then
|
||||||
usr/bin/update-desktop-database -q usr/share/applications >/dev/null 2>&1
|
/usr/bin/update-desktop-database -q /usr/share/applications >/dev/null 2>&1
|
||||||
fi
|
fi
|
||||||
if [ -x usr/bin/update-mime-database ]; then
|
if [ -x /usr/bin/update-mime-database ]; then
|
||||||
usr/bin/update-mime-database usr/share/mime >/dev/null 2>&1
|
/usr/bin/update-mime-database /usr/share/mime >/dev/null 2>&1
|
||||||
fi
|
fi
|
||||||
|
|
Loading…
Add table
Reference in a new issue