summaryrefslogtreecommitdiffstats
path: root/remove_xdg_cmds_from_makefile.patch
diff options
context:
space:
mode:
authorKuklin István Alexander2020-12-30 15:56:31 +0100
committerKuklin István Alexander2020-12-30 15:56:31 +0100
commitb6104299c7d3b9bbf5f03cb53dfcb1bead1b1df3 (patch)
tree0ed59871358bd9515347f78c87698d24a612bc56 /remove_xdg_cmds_from_makefile.patch
parent00ed03223ce0b0079612ab04115815c535a9c487 (diff)
downloadpackages-b6104299c7d3b9bbf5f03cb53dfcb1bead1b1df3.tar.gz
packages-b6104299c7d3b9bbf5f03cb53dfcb1bead1b1df3.tar.bz2
packages-b6104299c7d3b9bbf5f03cb53dfcb1bead1b1df3.zip
2.1.38
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