diff options
author | Kuklin István | 2019-03-04 09:14:01 +0100 |
---|---|---|
committer | Kuklin István | 2019-03-04 09:44:14 +0100 |
commit | 452f5544c43a2417efc5a8a792e3cd493debcc22 (patch) | |
tree | f7f2ba6cd8518b0cc0fcb4b70cb31905c09f3915 /remove_xdg_cmds_from_makefile.patch | |
download | aur-452f5544c43a2417efc5a8a792e3cd493debcc22.tar.gz |
It works!
Mandatory fields, .SRCINFO
Diffstat (limited to 'remove_xdg_cmds_from_makefile.patch')
-rw-r--r-- | remove_xdg_cmds_from_makefile.patch | 21 |
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 000000000000..99f50650a496 --- /dev/null +++ b/remove_xdg_cmds_from_makefile.patch @@ -0,0 +1,21 @@ +--- anki-2.1.9-linux-amd64/Makefile.old 2019-02-20 05:54:05.000000000 +0100 ++++ anki-2.1.9-linux-amd64/Makefile 2019-03-04 09:02:18.385431498 +0100 +@@ -20,14 +20,14 @@ + 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 + @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 |