summarylogtreecommitdiffstats
path: root/remove_xdg_cmds_from_makefile.patch
diff options
context:
space:
mode:
authorKuklin István2020-02-03 11:07:47 +0100
committerKuklin István2020-02-03 11:07:47 +0100
commit1494b7d07b0fd01136d94820d0f75bc2cf251823 (patch)
tree2030676e757d00050e4670ae2a3dcbcf1436d2d2 /remove_xdg_cmds_from_makefile.patch
parent400b799dd2ffaa5944a1e269ed4fcc0af8ac615c (diff)
downloadaur-1494b7d07b0fd01136d94820d0f75bc2cf251823.tar.gz
2.1.19
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 a3a46617212e..8785e8b09721 100644
--- a/remove_xdg_cmds_from_makefile.patch
+++ b/remove_xdg_cmds_from_makefile.patch
@@ -1,21 +1,20 @@
---- anki/Makefile.old
-+++ anki/Makefile
-@@ -20,14 +20,14 @@
+diff --git a/anki/Makefile b/anki/Makefile
+index 9f10a3a..6a3539b 100644
+--- a/anki/Makefile
++++ b/anki/Makefile
+@@ -20,15 +20,10 @@ install:
mv anki.xpm anki.png ${PREFIX}/share/pixmaps/;\
mv anki.desktop ${PREFIX}/share/applications/;\
mv anki.1 ${PREFIX}/share/man/man1/)
- xdg-mime install anki.xml --novendor
- xdg-mime default anki.desktop application/x-colpkg
- xdg-mime default anki.desktop application/x-apkg
-+# xdg-mime install anki.xml --novendor
-+# xdg-mime default anki.desktop application/x-colpkg
-+# xdg-mime default anki.desktop application/x-apkg
+- xdg-mime default anki.desktop application/x-ankiaddon
@echo
@echo "Install complete. Type 'anki' to run."
-
+
uninstall:
- -xdg-mime uninstall ${PREFIX}/share/anki/anki.xml
-+# -xdg-mime uninstall ${PREFIX}/share/anki/anki.xml
rm -rf ${PREFIX}/share/anki
rm -rf ${PREFIX}/bin/anki
rm -rf ${PREFIX}/share/pixmaps/anki.xpm