From 09847e18a68d83a856610f6c63f67866508658a2 Mon Sep 17 00:00:00 2001 From: Juan RP Date: Tue, 28 Oct 2014 15:51:28 +0100 Subject: [PATCH] zim: do not install generated mimedb files (HI GOTTOX) --- srcpkgs/zim/template | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/srcpkgs/zim/template b/srcpkgs/zim/template index 7ee4d9716e..c53b33b91a 100644 --- a/srcpkgs/zim/template +++ b/srcpkgs/zim/template @@ -1,7 +1,7 @@ # Template file for 'zim' pkgname=zim version=0.62 -revision=2 +revision=3 build_style="python-module" python_versions="2.7" pycompile_module="zim" @@ -14,3 +14,9 @@ license="GPL" homepage="http://zim-wiki.org/" distfiles="http://zim-wiki.org/downloads/${pkgname}-${version}.tar.gz" checksum=19d62aebd2c1a92d84d80720c6c1dcdb779c39a2120468fed01b7f252511bdc2 + +post_install() { + # remove mimedb generated files + rm -rf ${DESTDIR}/usr/share/mime + vinstall xdg/zim.xml 644 usr/share/mime/packages +}