loperOverlay/media-tv/peerflix/peerflix-0.32.2.ebuild
2016-04-30 03:32:54 +03:00

20 lines
498 B
Bash

# Copyright 2014-2015 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: $
EAPI=5
DESCRIPTION="Streaming torrent client for node.js"
HOMEPAGE="https://github.com/mafintosh/peerflix"
SRC_URI="https://github.com/mafintosh/peerflix/archive/v${PV}.tar.gz -> ${P}.tar.gz"
LICENSE="MIT"
SLOT="0"
KEYWORDS="~amd64 ~x86"
RDEPEND="net-libs/nodejs[npm]"
DEPEND="${RDEPEND}"
src_install() {
npm install -g --prefix "${D}/usr" || die "Failed installation"
}