commit:     cf4e368ab69e47943db9e7dc0e0237127ae3680e
Author:     Alessandro Barbieri <lssndrbarbieri <AT> gmail <DOT> com>
AuthorDate: Fri May  1 18:00:52 2020 +0000
Commit:     Alessandro Barbieri <lssndrbarbieri <AT> gmail <DOT> com>
CommitDate: Fri May  1 18:14:47 2020 +0000
URL:        https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=cf4e368a

app-shells/zsh-histdb: new package

Package-Manager: Portage-2.3.99, Repoman-2.3.22
Signed-off-by: Alessandro Barbieri <lssndrbarbieri <AT> gmail.com>

 app-shells/zsh-histdb/Manifest                     |  1 +
 app-shells/zsh-histdb/metadata.xml                 | 23 ++++++++++++++
 .../zsh-histdb/zsh-histdb-0_pre20200405.ebuild     | 35 ++++++++++++++++++++++
 3 files changed, 59 insertions(+)

diff --git a/app-shells/zsh-histdb/Manifest b/app-shells/zsh-histdb/Manifest
new file mode 100644
index 0000000..73d5187
--- /dev/null
+++ b/app-shells/zsh-histdb/Manifest
@@ -0,0 +1 @@
+DIST zsh-histdb-0_pre20200405.tar.gz 11227 BLAKE2B 
ac63958e910bae87a0cf81c31ca9bb84d5c51bb5ad94339498d05741a424d6410008a07f86da03847673af3cfc9750b03f126c3eb4a994c8ffbccf589849421f
 SHA512 
ae2e31fc5c872c0dbc4615c8ba3d0935c57c3d24158baae1fdb935723859f62d529941b8b0112a28259629bf2f92e7f2a953f0880fbf3c7746a301aa70dd4f04

diff --git a/app-shells/zsh-histdb/metadata.xml 
b/app-shells/zsh-histdb/metadata.xml
new file mode 100644
index 0000000..37a4c68
--- /dev/null
+++ b/app-shells/zsh-histdb/metadata.xml
@@ -0,0 +1,23 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd";>
+<pkgmetadata>
+  <maintainer type="person">
+    <email>lssndrbarbi...@gmail.com</email>
+    <name>Alessandro Barbieri</name>
+  </maintainer>
+  <upstream>
+    <bugs-to>https://github.com/larkery/zsh-histdb/issues</bugs-to>
+    <remote-id type="github">larkery/zsh-histdb</remote-id>
+  </upstream>
+  <longdescription lang="en">
+This is a small bit of zsh code that stores your history into a sqlite3 
database. It improves on the normal history by storing, for each history 
command:
+
+    The start and stop times of the command
+    The working directory where the command was run
+    The hostname of the machine
+    A unique per-host session ID, so history from several sessions is not 
confused
+    The exit status of the command
+
+It is also possible to merge multiple history databases together without 
conflict, so long as all your machines have different hostnames.
+  </longdescription>
+</pkgmetadata>

diff --git a/app-shells/zsh-histdb/zsh-histdb-0_pre20200405.ebuild 
b/app-shells/zsh-histdb/zsh-histdb-0_pre20200405.ebuild
new file mode 100644
index 0000000..4335249
--- /dev/null
+++ b/app-shells/zsh-histdb/zsh-histdb-0_pre20200405.ebuild
@@ -0,0 +1,35 @@
+# Copyright 1999-2020 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI="7"
+
+COMMIT="7c34b558cca374b6c8727fc08868f2bc044fd162"
+
+DESCRIPTION="A slightly better history for zsh"
+HOMEPAGE="https://github.com/larkery/zsh-histdb";
+SRC_URI="https://github.com/larkery/${PN}/archive/${COMMIT}.tar.gz -> 
${P}.tar.gz"
+
+LICENSE="MIT"
+SLOT="0"
+KEYWORDS="~amd64"
+DEPEND=""
+RDEPEND="
+       app-shells/zsh
+       dev-db/sqlite
+"
+
+DOCS=( README.org )
+
+S="${WORKDIR}/${PN}-${COMMIT}"
+
+src_install() {
+       einstalldocs
+       rm -rf "LICENSE" "${DOCS[@]}" || die
+       dodir "/usr/share/zsh/plugins"
+       insinto "/usr/share/zsh/plugins/${PN}"
+       doins -r .
+}
+
+pkg_postinst() {
+       einfo "To use this module please read the README"
+}

Reply via email to