nsxiv: update to 28

This commit is contained in:
Sanjay Pavan 2021-12-17 18:46:58 +05:30 committed by Érico Nogueira Rolim
parent 8ef5d293fe
commit 815b42d578
2 changed files with 5 additions and 38 deletions

View File

@ -1,31 +0,0 @@
--- 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/ .

View File

@ -1,21 +1,19 @@
# Template file for 'nsxiv' # Template file for 'nsxiv'
pkgname=nsxiv pkgname=nsxiv
version=27.1 version=28
revision=1 revision=1
build_style=gnu-makefile build_style=gnu-makefile
makedepends="libX11-devel imlib2-devel giflib-devel libexif-devel libXft-devel" make_install_target=install-all
makedepends="libX11-devel imlib2-devel giflib-devel libexif-devel libXft-devel
libwebp-devel"
short_desc="Neo (or New or Not) Simple (or Small or Suckless) X Image Viewer" short_desc="Neo (or New or Not) Simple (or Small or Suckless) X Image Viewer"
maintainer="Sanjay Pavan <tsppavan7@gmail.com>" maintainer="Sanjay Pavan <tsppavan7@gmail.com>"
license="GPL-2.0-or-later" license="GPL-2.0-or-later"
homepage="https://github.com/nsxiv/nsxiv" homepage="https://github.com/nsxiv/nsxiv"
distfiles="https://github.com/nsxiv/nsxiv/archive/v${version}.tar.gz" distfiles="https://github.com/nsxiv/nsxiv/archive/v${version}.tar.gz"
checksum=416247c6930d2a5ba482010a7c095fc3e6fe0fe609f2bce0049f69bebd63e00c checksum=38047f60e51854363dd98fb7b3bc9f1cfa9b7d6f9e8788508b6f1e317328dd75
CFLAGS="-I${XBPS_CROSS_BASE}/usr/include/freetype2" CFLAGS="-I${XBPS_CROSS_BASE}/usr/include/freetype2"
pre_build() { pre_build() {
[ -e ${FILESDIR}/config.h ] && cp ${FILESDIR}/config.h config.h ||: [ -e ${FILESDIR}/config.h ] && cp ${FILESDIR}/config.h config.h ||:
} }
post_install() {
vinstall nsxiv.desktop 644 usr/share/applications
}