gentoo-overlay/net-im/mattermost-bin/mattermost-bin-3.5.1.ebuild

40 lines
862 B
Bash

# Copyright 1999-2016 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Id$
EAPI="6"
inherit eutils user
DESCRIPTION="Mattermost is an open source, self-hosted Slack-alternative"
SRC_URI="https://github.com/${PN}/platform/archive/v${PV}.tar.gz"
#MY_GIT_COMMIT="b598d29066ee0c36b7c1b604965d6c78edc39dfd"
#S="${WORKDIR}/${PN}-v${PV}-${MY_GIT_COMMIT}"
RESTRICT="mirror"
LICENSE="MIT"
SLOT="0"
KEYWORDS="~amd64 ~x86"
DEPEND=">=dev-lang/go-1.6
>=net-libs/nodejs-5"
#PATCHES=( "${FILESDIR}/fix-Makefile-${PV}.patch" )
#src_install() {
# local dest=/usr/bin
#
# diropts -m755
# dodir ${dest}
#
# exeinto ${dest}
# for f in "${PN}" gitlab-zip-cat gitlab-zip-metadata ; do
# doexe "${S}/${f}"
# done
#
# ## RC script ##
# newinitd "${FILESDIR}/${PN}-0.8.2.init" "${PN}"
# newconfd "${FILESDIR}/${PN}-0.8.2.conf" "${PN}"
#}