pkgsrc-WIP-changes archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

zlua: revert to an older commit and add a MESSAGE



Module Name:	pkgsrc-wip
Committed By:	Dean Matzkov <bapabooiee%gmail.com@localhost>
Pushed By:	bapa
Date:		Sat Feb 2 16:03:32 2019 -0700
Changeset:	c8c5ac3eadf1858e1f2e2f0057fddf5e82e146f1

Modified Files:
	zlua/Makefile
	zlua/PLIST
	zlua/TODO
	zlua/distinfo
Added Files:
	zlua/MESSAGE

Log Message:
zlua: revert to an older commit and add a MESSAGE

Using `z.lua --init posix' was broken for shells like ksh, so revert
to a slightly older commit where it was working properly.

To see a diff of this commit:
https://wip.pkgsrc.org/cgi-bin/gitweb.cgi?p=pkgsrc-wip.git;a=commitdiff;h=c8c5ac3eadf1858e1f2e2f0057fddf5e82e146f1

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

diffstat:
 zlua/MESSAGE  | 22 ++++++++++++++++++++++
 zlua/Makefile |  7 +++----
 zlua/PLIST    |  2 +-
 zlua/TODO     |  4 ----
 zlua/distinfo |  8 ++++----
 5 files changed, 30 insertions(+), 13 deletions(-)

diffs:
diff --git a/zlua/MESSAGE b/zlua/MESSAGE
new file mode 100644
index 0000000000..cb3ae9d9dd
--- /dev/null
+++ b/zlua/MESSAGE
@@ -0,0 +1,22 @@
+To begin using z.lua, put something like the following in
+either ~/.profile or ~/.bashrc:
+
+if [ -e /usr/pkg/bin/z.lua ]; then
+	eval "$(lua /usr/pkg/bin/z.lua --eval posix)"
+fi
+
+Then, as z.lua learns your habits, you may use the following
+command to quickly jump around your filesystem:
+    $ z SOME_DIRECTORY
+
+z.lua also has explicit support for other shells, so
+you may want to consider replacing the `--eval posix'
+above with:
+
+    z.lua --eval bash
+	    -or-
+    z.lua --eval fish
+	    -or-
+    z.lua --eval zsh
+
+See /usr/pkg/share/doc/zlua/README.md for more details.
diff --git a/zlua/Makefile b/zlua/Makefile
index 6cd2148aa5..7a6162257f 100644
--- a/zlua/Makefile
+++ b/zlua/Makefile
@@ -1,11 +1,11 @@
 # $NetBSD$
 
-PKGNAME=	zlua-0.0.1
+PKGNAME=	zlua-0.0.0.20190131
 DISTNAME=	z.lua-${PKGVERSION_NOREV}
 CATEGORIES=		shells
 MASTER_SITES=	${MASTER_SITE_GITHUB:=skywind3000/}
 GITHUB_PROJECT=	z.lua
-GITHUB_TAG=	ab8277f0cd1a0e6c3ef5dc306dec3f8f6718b664
+GITHUB_TAG=	9fe0fc67a002ce122b10e85e047ef136a4544096
 
 MAINTAINER=	pkgsrc-users%NetBSD.org@localhost
 HOMEPAGE=	https://github.com/skywind3000/z.lua
@@ -25,7 +25,7 @@ do-build:
 
 do-install:
 	${INSTALL_PROGRAM} ${WRKSRC}/z.lua ${DESTDIR}${PREFIX}/bin
-	${INSTALL_DATA} ${WRKSRC}/z.lua.plugin.zsh ${DESTDIR}${PREFIX}/share/${PKGBASE}
+	${INSTALL_DATA} ${WRKSRC}/omz.plugin.zsh ${DESTDIR}${PREFIX}/share/${PKGBASE}
 	${INSTALL_DATA} ${WRKSRC}/README.md ${DESTDIR}${PREFIX}/share/doc/${PKGBASE}
 	${INSTALL_DATA} ${WRKSRC}/README.cn.md ${DESTDIR}${PREFIX}/share/doc/${PKGBASE}
 
@@ -33,5 +33,4 @@ do-install:
 	${INSTALL_DATA} ${WRKSRC}/z.cmd ${DESTDIR}${PREFIX}/share/${PKGBASE}
 
 .include "../../lang/lua/application.mk"
-#.include "../../wip/mk/git-package.mk"
 .include "../../mk/bsd.pkg.mk"
diff --git a/zlua/PLIST b/zlua/PLIST
index 6dcbd71947..3dd84b90c9 100644
--- a/zlua/PLIST
+++ b/zlua/PLIST
@@ -2,5 +2,5 @@
 bin/z.lua
 share/doc/zlua/README.cn.md
 share/doc/zlua/README.md
+share/zlua/omz.plugin.zsh
 share/zlua/z.cmd
-share/zlua/z.lua.plugin.zsh
diff --git a/zlua/TODO b/zlua/TODO
index 2d3669fefa..01f9079e74 100644
--- a/zlua/TODO
+++ b/zlua/TODO
@@ -3,9 +3,5 @@
   Using this name for now, until we can evaluate
   whether such a name will play nice with pkgsrc.
 
-- Upstream has no releases, so the version of 0.0.1 was
-  made up.
-
 - Figure out a better places to install z.lua.plugin.zsh
   for zsh users.
-
diff --git a/zlua/distinfo b/zlua/distinfo
index 3a0adf3d47..525cc3a033 100644
--- a/zlua/distinfo
+++ b/zlua/distinfo
@@ -1,6 +1,6 @@
 $NetBSD$
 
-SHA1 (z.lua-0.0.1-ab8277f0cd1a0e6c3ef5dc306dec3f8f6718b664.tar.gz) = b172f1c7b38ac0dbe56fd7b1558e899585d98191
-RMD160 (z.lua-0.0.1-ab8277f0cd1a0e6c3ef5dc306dec3f8f6718b664.tar.gz) = cacae14182d16d0e675e2467b4b74986b633eb8b
-SHA512 (z.lua-0.0.1-ab8277f0cd1a0e6c3ef5dc306dec3f8f6718b664.tar.gz) = a611087a606de3af4167e18c9ab09fa047339eac3892bad23eff419ef6985005771f8d0b4f95624ca34f43d42b9ef1795bed9eef6261189cc1ffd2b8230f9e80
-Size (z.lua-0.0.1-ab8277f0cd1a0e6c3ef5dc306dec3f8f6718b664.tar.gz) = 52754 bytes
+SHA1 (z.lua-0.0.0.20190131-9fe0fc67a002ce122b10e85e047ef136a4544096.tar.gz) = ac9a16aaf5c3c15f5eedb980a27b3512e603c6c5
+RMD160 (z.lua-0.0.0.20190131-9fe0fc67a002ce122b10e85e047ef136a4544096.tar.gz) = f559bb7ac7140a7a497edf186e0edd6563fba2b7
+SHA512 (z.lua-0.0.0.20190131-9fe0fc67a002ce122b10e85e047ef136a4544096.tar.gz) = adf212cdfa0c142cef01c9fd712b66332e33bf2596426b2577a90b728c0e2f357c7ce2b954352d908d0e2516805ccbbaf2e6fec10463602ac6df9f2efb5685ad
+Size (z.lua-0.0.0.20190131-9fe0fc67a002ce122b10e85e047ef136a4544096.tar.gz) = 20478 bytes


Home | Main Index | Thread Index | Old Index