[packages/jshon] Up to 20180209.d919aea

arekm arekm at pld-linux.org
Sat Nov 28 18:25:15 CET 2026


commit 9b629b86c12eb0af434932635bc7bdd97ae4b584
Author: Arkadiusz Miśkiewicz <arekm at maven.pl>
Date:   Fri Nov 27 17:36:09 2026 +0100

    Up to 20180209.d919aea
    
    Install the zsh completion as _jshon (upstream Makefile names it
    _pbpst). Source is the Debian tarball of the upstream git snapshot,
    as upstream has no releases after 20131105.

 jshon.spec | 15 ++++++++-------
 1 file changed, 8 insertions(+), 7 deletions(-)
---
diff --git a/jshon.spec b/jshon.spec
index 2ea71c7..225b77e 100644
--- a/jshon.spec
+++ b/jshon.spec
@@ -1,13 +1,12 @@
 Summary:	Jshon is a JSON parser designed for maximum convenience within the shell
 Name:		jshon
-Version:	20131010
-Release:	3
+Version:	20180209.d919aea
+Release:	1
 License:	MIT
 Group:		Applications/System
-# Source0:	http://kmkeen.com/%{name}/jshon.tar.gz
-Source0:	http://ftp.debian.org/debian/pool/main/j/jshon/%{name}_%{version}.orig.tar.gz
-# Source0-md5:	f939755699cd152379f97a8a9e2fe7c4
-URL:		http://kmkeen.com/jshon/
+Source0:	http://ftp.debian.org/debian/pool/main/j/jshon/%{name}_%{version}.orig.tar.xz
+# Source0-md5:	53ade0abcd95bee21b5310045ce2a864
+URL:		https://github.com/keenerd/jshon
 BuildRequires:	jansson-devel
 BuildRoot:	%{tmpdir}/%{name}-%{version}-root-%(id -u -n)
 
@@ -27,7 +26,8 @@ shell
 %install
 rm -rf $RPM_BUILD_ROOT
 %{__make} install \
-	DESTDIR=$RPM_BUILD_ROOT
+	DESTDIR=$RPM_BUILD_ROOT \
+	ZSHCOMP=$RPM_BUILD_ROOT%{zsh_compdir}/_jshon
 
 %clean
 rm -rf $RPM_BUILD_ROOT
@@ -36,3 +36,4 @@ rm -rf $RPM_BUILD_ROOT
 %defattr(644,root,root,755)
 %attr(755,root,root) %{_bindir}/jshon
 %{_mandir}/man1/jshon.1*
+%{zsh_compdir}/_jshon
================================================================

---- gitweb:

http://git.pld-linux.org/gitweb.cgi/packages/jshon.git/commitdiff/9b629b86c12eb0af434932635bc7bdd97ae4b584



More information about the pld-cvs-commit mailing list