summaryrefslogtreecommitdiffstats
path: root/remove_xdg_cmds_from_makefile.patch
diff options
context:
space:
mode:
Diffstat (limited to 'remove_xdg_cmds_from_makefile.patch')
-rw-r--r--remove_xdg_cmds_from_makefile.patch15
1 files changed, 7 insertions, 8 deletions
diff --git a/remove_xdg_cmds_from_makefile.patch b/remove_xdg_cmds_from_makefile.patch
index a3a4661..8785e8b 100644
--- a/remove_xdg_cmds_from_makefile.patch
+++ b/remove_xdg_cmds_from_makefile.patch
@@ -1,21 +1,20 @@
1--- anki/Makefile.old 1diff --git a/anki/Makefile b/anki/Makefile
2+++ anki/Makefile 2index 9f10a3a..6a3539b 100644
3@@ -20,14 +20,14 @@ 3--- a/anki/Makefile
4+++ b/anki/Makefile
5@@ -20,15 +20,10 @@ install:
4 mv anki.xpm anki.png ${PREFIX}/share/pixmaps/;\ 6 mv anki.xpm anki.png ${PREFIX}/share/pixmaps/;\
5 mv anki.desktop ${PREFIX}/share/applications/;\ 7 mv anki.desktop ${PREFIX}/share/applications/;\
6 mv anki.1 ${PREFIX}/share/man/man1/) 8 mv anki.1 ${PREFIX}/share/man/man1/)
7- xdg-mime install anki.xml --novendor 9- xdg-mime install anki.xml --novendor
8- xdg-mime default anki.desktop application/x-colpkg 10- xdg-mime default anki.desktop application/x-colpkg
9- xdg-mime default anki.desktop application/x-apkg 11- xdg-mime default anki.desktop application/x-apkg
10+# xdg-mime install anki.xml --novendor 12- xdg-mime default anki.desktop application/x-ankiaddon
11+# xdg-mime default anki.desktop application/x-colpkg
12+# xdg-mime default anki.desktop application/x-apkg
13 @echo 13 @echo
14 @echo "Install complete. Type 'anki' to run." 14 @echo "Install complete. Type 'anki' to run."
15 15
16 uninstall: 16 uninstall:
17- -xdg-mime uninstall ${PREFIX}/share/anki/anki.xml 17- -xdg-mime uninstall ${PREFIX}/share/anki/anki.xml
18+# -xdg-mime uninstall ${PREFIX}/share/anki/anki.xml
19 rm -rf ${PREFIX}/share/anki 18 rm -rf ${PREFIX}/share/anki
20 rm -rf ${PREFIX}/bin/anki 19 rm -rf ${PREFIX}/bin/anki
21 rm -rf ${PREFIX}/share/pixmaps/anki.xpm 20 rm -rf ${PREFIX}/share/pixmaps/anki.xpm