Skip to content

Commit

Permalink
sys-fs/tmsu: new ebuild
Browse files Browse the repository at this point in the history
Closes: #4347
Package-Manager: Portage-2.3.5, Repoman-2.3.2
  • Loading branch information
TheChymera authored and mgorny committed May 19, 2017
1 parent 93837aa commit da09ac4
Show file tree
Hide file tree
Showing 3 changed files with 63 additions and 0 deletions.
1 change: 1 addition & 0 deletions sys-fs/tmsu/Manifest
@@ -0,0 +1 @@
DIST tmsu-0.6.1.tar.gz 92874 SHA256 00483d9ca12cb868e9587207556a8293bd43ee5a2993a6fe9f0c93edef918a7f SHA512 53bc9d880f9138e9d88b25a151f72a5a3110418002c2a1a6101d2794c0b6fd854ebd52e589f3b1ffa18f1b5c2f2298550246fc6cb1bfebbfd0131692c2fa5512 WHIRLPOOL 3f5de7d6935464b2bef84408146e2458048e51fbfd63a88055ba560c738c4d24fade4484be44729187d06a5a2af407d4fd7c7fbb1b24731f8a78b743825f05a7
21 changes: 21 additions & 0 deletions sys-fs/tmsu/metadata.xml
@@ -0,0 +1,21 @@
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
<pkgmetadata>
<maintainer type="person">
<email>horea.christ@gmail.com</email>
<name>Horea Christian</name>
</maintainer>
<maintainer type="project">
<email>proxy-maint@gentoo.org</email>
<name>Proxy Maintainers</name>
</maintainer>
<longdescription lang="en">
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.
</longdescription>
<upstream>
<remote-id type="github">oniony/TMSU</remote-id>
</upstream>
</pkgmetadata>
41 changes: 41 additions & 0 deletions 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
}

0 comments on commit da09ac4

Please sign in to comment.