diff options
-rw-r--r-- | deskutils/calibre/Makefile | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/deskutils/calibre/Makefile b/deskutils/calibre/Makefile index a8e86852a9a9..d85feefc5675 100644 --- a/deskutils/calibre/Makefile +++ b/deskutils/calibre/Makefile @@ -97,10 +97,13 @@ do-install: ${STAGEDIR}${PREFIX}/share/applications \ ${STAGEDIR}${PREFIX}/share/desktop-directories \ ${STAGEDIR}${PREFIX}/share/mime/packages + # Create this file to avoid what looks like a bug in xdg-desktop-menu + @${TOUCH} ${STAGEDIR}${PREFIX}/share/applications/defaults.list (cd ${BUILD_WRKSRC}; ${SETENV} ${MAKE_ENV} ${PYTHON_CMD} \ ${PYSETUP} install --prefix ${PREFIX} \ --staging-root ${STAGEDIR}${PREFIX}) - @${RM} ${STAGEDIR}${PREFIX}/bin/calibre-uninstall + @${RM} ${STAGEDIR}${PREFIX}/bin/calibre-uninstall \ + ${STAGEDIR}${PREFIX}/share/applications/defaults.list @${RMDIR} ${STAGEDIR}${PREFIX}/share/desktop-directories @${STRIP_CMD} ${STAGEDIR}${PREFIX}/lib/calibre/calibre/plugins/* |