1
0
mirror of synced 2024-12-22 12:50:33 +01:00

new package

This commit is contained in:
Horea Christian 2017-04-02 00:09:30 +02:00
parent c27debbd2c
commit 547dab5db0
2 changed files with 36 additions and 0 deletions

1
sys-fs/tmsu/Manifest Normal file
View File

@ -0,0 +1 @@
DIST tmsu-0.6.1.tar.gz 92874 SHA256 00483d9ca12cb868e9587207556a8293bd43ee5a2993a6fe9f0c93edef918a7f SHA512 53bc9d880f9138e9d88b25a151f72a5a3110418002c2a1a6101d2794c0b6fd854ebd52e589f3b1ffa18f1b5c2f2298550246fc6cb1bfebbfd0131692c2fa5512 WHIRLPOOL 3f5de7d6935464b2bef84408146e2458048e51fbfd63a88055ba560c738c4d24fade4484be44729187d06a5a2af407d4fd7c7fbb1b24731f8a78b743825f05a7

View File

@ -0,0 +1,35 @@
# 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=""
HOMEPAGE=""
SRC_URI="https://github.com/oniony/TMSU/archive/v${PV}.tar.gz -> ${P}.tar.gz"
LICENSE="GPL-3"
SLOT="0"
KEYWORDS="~amd64 ~x86"
RDEPEND="
dev-go/go-sqlite3
dev-libs/go-fuse
"
DEPEND="dev-lang/go"
S=${WORKDIR}/TMSU-${PV}
RESTRICT="test"
src_compile() {
GOPATH="${S}:$(get_golibdir_gopath)" \
go install -v -work -x ${EGO_BUILD_FLAGS} ${EGO_PN} || die
}
src_install() {
golang_install_pkgs
newbin bin/TMSU tmsu
}