app-shells/fish-command-timer: new package

Package-Manager: Portage-3.0.12, Repoman-3.0.2
Signed-off-by: Alessandro Barbieri <lssndrbarbieri@gmail.com>
This commit is contained in:
Alessandro Barbieri
2020-12-21 09:35:06 +01:00
parent 87945f7bbb
commit b77ac729cd
3 changed files with 37 additions and 0 deletions

View File

@@ -0,0 +1 @@
DIST fish-command-timer-0.1.3.tar.gz 7084 BLAKE2B 2d99b2cdc937cd529dd4bf946efd14c704ab90a8bd8d2082493e2da8cb480d8b23cfa47c9e43a1ee736b45560fb78d1dcb3c9c3a79d650b9438ec68c44ce089a SHA512 245ead84b136d02b3316b8508c9f797a9faaa2b5c669787c49e4e41c773312dccbdfde64c3a16be6c7e97433c731c7d3a1413c33d4a86206008b8cce764e129b

View File

@@ -0,0 +1,23 @@
# Copyright 1999-2020 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI="7"
DESCRIPTION="Fish shell extension for printing execution time for each command"
HOMEPAGE="https://github.com/jichu4n/fish-command-timer"
SRC_URI="https://github.com/jichu4n/fish-command-timer/archive/${PV}.tar.gz -> ${P}.tar.gz"
LICENSE="Apache-2.0"
SLOT="0"
KEYWORDS="~amd64"
DEPEND=""
RDEPEND=">=app-shells/fish-2.2"
DOCS=( README.md )
src_install() {
dodir "/usr/share/fish/vendor_conf.d"
insinto "/usr/share/fish/vendor_conf.d"
doins "conf.d/fish_command_timer.fish"
einstalldocs
}

View File

@@ -0,0 +1,13 @@
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
<pkgmetadata>
<maintainer type="person">
<email>lssndrbarbieri@gmail.com</email>
<name>Alessandro Barbieri</name>
</maintainer>
<upstream>
<remote-id type="github">jichu4n/fish-command-timer</remote-id>
</upstream>
<longdescription lang="en">After the execution of each command line, the script prints out the total execution time (up to millisecond precision), followed by the current time.
</longdescription>
</pkgmetadata>