void-packages/srcpkgs/sxiv/patches/sxiv-1.3-makefile.patch

36 lines
1.4 KiB
Diff
Raw Normal View History

2014-10-26 00:26:11 +00:00
--- Makefile.orig 2014-10-24 12:25:18.000000000 +0200
+++ Makefile 2014-10-26 01:19:33.040945097 +0200
@@ -43,9 +43,9 @@
mkdir -p $(DESTDIR)$(MANPREFIX)/man1
sed "s!PREFIX!$(PREFIX)!g; s!VERSION!$(VERSION)!g" sxiv.1 > $(DESTDIR)$(MANPREFIX)/man1/sxiv.1
chmod 644 $(DESTDIR)$(MANPREFIX)/man1/sxiv.1
- mkdir -p $(DESTDIR)$(PREFIX)/share/sxiv/exec
- cp exec/* $(DESTDIR)$(PREFIX)/share/sxiv/exec/
- chmod 755 $(DESTDIR)$(PREFIX)/share/sxiv/exec/*
+ mkdir -p $(DESTDIR)$(PREFIX)/share/examples/sxiv
+ cp exec/* $(DESTDIR)$(PREFIX)/share/examples/sxiv/
+ chmod 755 $(DESTDIR)$(PREFIX)/share/examples/sxiv/*
uninstall:
rm -f $(DESTDIR)$(PREFIX)/bin/sxiv
--- sxiv.1.orig 2014-10-24 12:25:18.000000000 +0200
+++ sxiv.1 2014-10-26 01:18:00.053107605 +0200
@@ -351,7 +351,7 @@
and the first argument to this script is the path of the loaded image.
.P
There is also an example script installed together with sxiv as
-.IR PREFIX/share/sxiv/exec/image-info .
+.IR PREFIX/share/examples/sxiv/image-info .
.SH EXTERNAL KEY HANDLER
Additional external keyboard commands can be defined using a handler program
located in
@@ -368,7 +368,7 @@
keysym as listed in /usr/include/X11/keysymdef.h without the "XK_" prefix.
There is also an example script installed together with sxiv as
-.IR PREFIX/share/sxiv/exec/key-handler .
+.IR PREFIX/share/examples/sxiv/key-handler .
.SH THUMBNAIL CACHING
sxiv stores all thumbnails under
.IR $XDG_CACHE_HOME/sxiv/ .