summaryrefslogtreecommitdiffstats
path: root/remove_xdg_cmds_from_makefile.patch
diff options
context:
space:
mode:
authorKuklin István2019-03-04 09:14:01 +0100
committerKuklin István2019-03-04 09:44:14 +0100
commit452f5544c43a2417efc5a8a792e3cd493debcc22 (patch)
treef7f2ba6cd8518b0cc0fcb4b70cb31905c09f3915 /remove_xdg_cmds_from_makefile.patch
downloadpackages-452f5544c43a2417efc5a8a792e3cd493debcc22.tar.gz
packages-452f5544c43a2417efc5a8a792e3cd493debcc22.tar.bz2
packages-452f5544c43a2417efc5a8a792e3cd493debcc22.zip
It works!
Mandatory fields, .SRCINFO
Diffstat (limited to 'remove_xdg_cmds_from_makefile.patch')
-rw-r--r--remove_xdg_cmds_from_makefile.patch21
1 files changed, 21 insertions, 0 deletions
diff --git a/remove_xdg_cmds_from_makefile.patch b/remove_xdg_cmds_from_makefile.patch
new file mode 100644
index 0000000..99f5065
--- /dev/null
+++ b/remove_xdg_cmds_from_makefile.patch
@@ -0,0 +1,21 @@
1--- anki-2.1.9-linux-amd64/Makefile.old 2019-02-20 05:54:05.000000000 +0100
2+++ anki-2.1.9-linux-amd64/Makefile 2019-03-04 09:02:18.385431498 +0100
3@@ -20,14 +20,14 @@
4 mv anki.xpm anki.png ${PREFIX}/share/pixmaps/;\
5 mv anki.desktop ${PREFIX}/share/applications/;\
6 mv anki.1 ${PREFIX}/share/man/man1/)
7- xdg-mime install anki.xml --novendor
8- xdg-mime default anki.desktop application/x-colpkg
9- xdg-mime default anki.desktop application/x-apkg
10+# xdg-mime install anki.xml --novendor
11+# xdg-mime default anki.desktop application/x-colpkg
12+# xdg-mime default anki.desktop application/x-apkg
13 @echo
14 @echo "Install complete. Type 'anki' to run."
15
16 uninstall:
17- -xdg-mime uninstall ${PREFIX}/share/anki/anki.xml
18+# -xdg-mime uninstall ${PREFIX}/share/anki/anki.xml
19 rm -rf ${PREFIX}/share/anki
20 rm -rf ${PREFIX}/bin/anki
21 rm -rf ${PREFIX}/share/pixmaps/anki.xpm