Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Closes: #4347 Package-Manager: Portage-2.3.5, Repoman-2.3.2
- Loading branch information
1 parent
93837aa
commit da09ac4
Showing
3 changed files
with
63 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
DIST tmsu-0.6.1.tar.gz 92874 SHA256 00483d9ca12cb868e9587207556a8293bd43ee5a2993a6fe9f0c93edef918a7f SHA512 53bc9d880f9138e9d88b25a151f72a5a3110418002c2a1a6101d2794c0b6fd854ebd52e589f3b1ffa18f1b5c2f2298550246fc6cb1bfebbfd0131692c2fa5512 WHIRLPOOL 3f5de7d6935464b2bef84408146e2458048e51fbfd63a88055ba560c738c4d24fade4484be44729187d06a5a2af407d4fd7c7fbb1b24731f8a78b743825f05a7 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -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> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -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 | ||
} |