void-packages/srcpkgs/nsxiv/patches/nsxiv-27.1-makefile.patch

32 lines
1.1 KiB
Diff

--- a/Makefile 2021-09-22 17:00:05.123980000 +0530
+++ b/Makefile 2021-09-22 16:59:53.050646000 +0530
@@ -86,7 +86,7 @@
>$(DESTDIR)$(MANPREFIX)/man1/nsxiv.1
chmod 644 $(DESTDIR)$(MANPREFIX)/man1/nsxiv.1
@echo "INSTALL share/nsxiv/"
- install -Dt $(DESTDIR)$(PREFIX)/share/nsxiv/exec exec/*
+ install -Dt $(DESTDIR)$(PREFIX)/share/doc/nsxiv/examples exec/*
uninstall:
@echo "REMOVE bin/nsxiv"
--- a/nsxiv.1 2021-09-22 16:55:16.433967000 +0530
+++ b/nsxiv.1 2021-09-22 17:03:11.870655000 +0530
@@ -428,7 +428,7 @@
3) image height.
.P
There is also an example script installed together with nsxiv as
-.IR PREFIX/share/nsxiv/exec/image-info .
+.IR PREFIX/share/doc/nsxiv/examples/image-info .
.SH EXTERNAL KEY HANDLER
Additional external keyboard commands can be defined using a handler program
located in
@@ -446,7 +446,7 @@
keysym as listed in /usr/include/X11/keysymdef.h without the "XK_" prefix.
There is also an example script installed together with nsxiv as
-.IR PREFIX/share/nsxiv/exec/key-handler .
+.IR PREFIX/share/doc/nsxiv/examples/key-handler .
.SH THUMBNAIL CACHING
nsxiv stores all thumbnails under
.IR $XDG_CACHE_HOME/nsxiv/ .