From e2d84e38284aeb9d522a7e935554340ddf0e4a6f Mon Sep 17 00:00:00 2001 From: V3n3RiX Date: Wed, 15 Nov 2017 17:13:45 +0000 Subject: gentoo resync : 15.11.2017 --- sys-fs/tmsu/tmsu-0.7.0.ebuild | 41 +++++++++++++++++++++++++++++++++++++++++ 1 file changed, 41 insertions(+) create mode 100644 sys-fs/tmsu/tmsu-0.7.0.ebuild (limited to 'sys-fs/tmsu/tmsu-0.7.0.ebuild') diff --git a/sys-fs/tmsu/tmsu-0.7.0.ebuild b/sys-fs/tmsu/tmsu-0.7.0.ebuild new file mode 100644 index 000000000000..d37b33711282 --- /dev/null +++ b/sys-fs/tmsu/tmsu-0.7.0.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 +} -- cgit v1.2.3