zim: do not run xdg commands for installation.

This commit is contained in:
Enno Boland 2014-10-29 14:15:19 +01:00
parent e942300342
commit 699d265ee2

View file

@ -1,12 +1,12 @@
# Template file for 'zim' # Template file for 'zim'
pkgname=zim pkgname=zim
version=0.62 version=0.62
revision=3 revision=4
build_style="python-module" build_style="python-module"
python_versions="2.7" python_versions="2.7"
pycompile_module="zim" pycompile_module="zim"
depends="pygtk python-gobject2 python" depends="pygtk python-gobject2 python"
hostmakedepends="$depends desktop-file-utils" hostmakedepends="$depends"
short_desc="A desktop wiki" short_desc="A desktop wiki"
maintainer="Enno Boland <eb@s01.de>" maintainer="Enno Boland <eb@s01.de>"
noarch="yes" noarch="yes"
@ -14,9 +14,4 @@ license="GPL"
homepage="http://zim-wiki.org/" homepage="http://zim-wiki.org/"
distfiles="http://zim-wiki.org/downloads/${pkgname}-${version}.tar.gz" distfiles="http://zim-wiki.org/downloads/${pkgname}-${version}.tar.gz"
checksum=19d62aebd2c1a92d84d80720c6c1dcdb779c39a2120468fed01b7f252511bdc2 checksum=19d62aebd2c1a92d84d80720c6c1dcdb779c39a2120468fed01b7f252511bdc2
make_install_args="--skip-xdg-cmd"
post_install() {
# remove mimedb generated files
rm -rf ${DESTDIR}/usr/share/mime
vinstall xdg/zim.xml 644 usr/share/mime/packages
}