1
0
mirror of synced 2024-12-23 05:10:24 +01:00
TheChymera-overlay/sys-fs/tmsu/tmsu-0.6.1.ebuild

41 lines
801 B
Bash
Raw Normal View History

2017-04-02 00:09:30 +02:00
# 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/"
2017-04-15 10:31:42 +02:00
DESCRIPTION="Files tagger and virtual tag-based filesystem"
HOMEPAGE="https://github.com/oniony/TMSU/wiki"
2017-04-02 00:09:30 +02:00
SRC_URI="https://github.com/oniony/TMSU/archive/v${PV}.tar.gz -> ${P}.tar.gz"
2017-04-15 10:31:42 +02:00
LICENSE="GPL-3+"
2017-04-02 00:09:30 +02:00
SLOT="0"
2017-04-15 10:31:42 +02:00
KEYWORDS="~amd64"
IUSE="test zsh-completion"
2017-04-02 00:09:30 +02:00
2017-04-15 10:31:42 +02:00
RDEPEND=""
DEPEND="
2017-04-02 00:09:30 +02:00
dev-go/go-sqlite3
2017-04-15 10:31:42 +02:00
dev-lang/go
2017-04-02 00:09:30 +02:00
dev-libs/go-fuse
2017-04-15 10:31:42 +02:00
zsh-completion? ( app-shells/zsh )
"
2017-04-02 00:09:30 +02:00
2017-04-15 10:31:42 +02:00
src_unpack() {
default
mv TMSU-${PV} ${P} || die "Failed to move sorce directory."
2017-04-02 00:09:30 +02:00
}
src_install() {
2017-04-15 10:31:42 +02:00
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
2017-04-02 00:09:30 +02:00
}