blob: d37b3371128203508082f7f5bd55ad5478ef0e42 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
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
}
|