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.patch20
1 files changed, 0 insertions, 20 deletions
diff --git a/remove_xdg_cmds_from_makefile.patch b/remove_xdg_cmds_from_makefile.patch
deleted file mode 100644
index 8785e8b..0000000
--- a/remove_xdg_cmds_from_makefile.patch
+++ /dev/null
@@ -1,20 +0,0 @@
1diff --git a/anki/Makefile b/anki/Makefile
2index 9f10a3a..6a3539b 100644
3--- a/anki/Makefile
4+++ b/anki/Makefile
5@@ -20,15 +20,10 @@ install:
6 mv anki.xpm anki.png ${PREFIX}/share/pixmaps/;\
7 mv anki.desktop ${PREFIX}/share/applications/;\
8 mv anki.1 ${PREFIX}/share/man/man1/)
9- xdg-mime install anki.xml --novendor
10- xdg-mime default anki.desktop application/x-colpkg
11- xdg-mime default anki.desktop application/x-apkg
12- xdg-mime default anki.desktop application/x-ankiaddon
13 @echo
14 @echo "Install complete. Type 'anki' to run."
15
16 uninstall:
17- -xdg-mime uninstall ${PREFIX}/share/anki/anki.xml
18 rm -rf ${PREFIX}/share/anki
19 rm -rf ${PREFIX}/bin/anki
20 rm -rf ${PREFIX}/share/pixmaps/anki.xpm