From da09ac44fb20dff40323d47197ad93e8e400227e Mon Sep 17 00:00:00 2001 From: Horea Christian Date: Sun, 2 Apr 2017 20:07:51 +0200 Subject: [PATCH] sys-fs/tmsu: new ebuild Closes: https://github.com/gentoo/gentoo/pull/4347 Package-Manager: Portage-2.3.5, Repoman-2.3.2 --- sys-fs/tmsu/Manifest | 1 + sys-fs/tmsu/metadata.xml | 21 ++++++++++++++++++ sys-fs/tmsu/tmsu-0.6.1.ebuild | 41 +++++++++++++++++++++++++++++++++++ 3 files changed, 63 insertions(+) create mode 100644 sys-fs/tmsu/Manifest create mode 100644 sys-fs/tmsu/metadata.xml create mode 100644 sys-fs/tmsu/tmsu-0.6.1.ebuild diff --git a/sys-fs/tmsu/Manifest b/sys-fs/tmsu/Manifest new file mode 100644 index 000000000000..c909ea38cc35 --- /dev/null +++ b/sys-fs/tmsu/Manifest @@ -0,0 +1 @@ +DIST tmsu-0.6.1.tar.gz 92874 SHA256 00483d9ca12cb868e9587207556a8293bd43ee5a2993a6fe9f0c93edef918a7f SHA512 53bc9d880f9138e9d88b25a151f72a5a3110418002c2a1a6101d2794c0b6fd854ebd52e589f3b1ffa18f1b5c2f2298550246fc6cb1bfebbfd0131692c2fa5512 WHIRLPOOL 3f5de7d6935464b2bef84408146e2458048e51fbfd63a88055ba560c738c4d24fade4484be44729187d06a5a2af407d4fd7c7fbb1b24731f8a78b743825f05a7 diff --git a/sys-fs/tmsu/metadata.xml b/sys-fs/tmsu/metadata.xml new file mode 100644 index 000000000000..06bdd804eaf7 --- /dev/null +++ b/sys-fs/tmsu/metadata.xml @@ -0,0 +1,21 @@ + + + + + horea.christ@gmail.com + Horea Christian + + + proxy-maint@gentoo.org + Proxy Maintainers + + + TMSU is a tool for tagging your files. It provides a simple + command-line utility for applying tags and a virtual + filesystem to give you a tag-based view of your files from + any other program. + + + oniony/TMSU + + diff --git a/sys-fs/tmsu/tmsu-0.6.1.ebuild b/sys-fs/tmsu/tmsu-0.6.1.ebuild new file mode 100644 index 000000000000..d37b33711282 --- /dev/null +++ b/sys-fs/tmsu/tmsu-0.6.1.ebuild @@ -0,0 +1,41 @@ +# Copyright 1999-2017 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 + +EAPI=6 + +inherit golang-build + +EGO_PN="github.com/oniony/TMSU/" +DESCRIPTION="Files tagger and virtual tag-based filesystem" +HOMEPAGE="https://github.com/oniony/TMSU/wiki" +SRC_URI="https://github.com/oniony/TMSU/archive/v${PV}.tar.gz -> ${P}.tar.gz" + +LICENSE="GPL-3+" +SLOT="0" +KEYWORDS="~amd64" +IUSE="test zsh-completion" + +RDEPEND=" + zsh-completion? ( app-shells/zsh ) +" +DEPEND=" + dev-go/go-sqlite3 + dev-lang/go + dev-libs/go-fuse +" + +src_unpack() { + default + mv TMSU-${PV} ${P} || die "Failed to move sorce directory." +} + +src_install() { + dobin misc/bin/* + doman misc/man/tmsu.* + newbin TMSU tmsu + + if use zsh-completion ; then + insinto /usr/share/zsh/site-functions + doins misc/zsh/_tmsu + fi +} -- 2.26.2