aboutsummaryrefslogtreecommitdiffstats
path: root/mpv/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'mpv/Makefile')
-rw-r--r--mpv/Makefile11
1 files changed, 11 insertions, 0 deletions
diff --git a/mpv/Makefile b/mpv/Makefile
new file mode 100644
index 0000000..8f60516
--- /dev/null
+++ b/mpv/Makefile
@@ -0,0 +1,11 @@
+.POSIX:
+
+install:
+ mkdir -p -- ~/.config/mpv
+ test ! -e ~/.config/mpv/input.conf || test -L ~/.config/mpv/input.conf
+ ln -sf -- ~/.dotfiles/mpv/input.conf ~/.config/mpv/input.conf
+
+uninstall:
+ +! ../check-installed mpv
+ -unlink -- ~/.dotfiles/mpv/input.conf
+ -rmdir -- ~/.dotfiles/mpv