commit: eb2faf4eac0abb9608de465f35c27ba52d3772a0 Author: Samuel Bernardo <samuelbernardo <AT> tecnico <DOT> ulisboa <DOT> pt> AuthorDate: Thu Aug 11 03:07:54 2016 +0000 Commit: Samuel Bernardo <samuelbernardo.mail <AT> gmail <DOT> com> CommitDate: Thu Aug 11 03:07:54 2016 +0000 URL: https://gitweb.gentoo.org/repo/user/ssnb.git/commit/?id=eb2faf4e
add mattermost-desktop, but installation not tested yet net-im/mattermost-desktop/Manifest | 2 + .../mattermost-desktop-1.3.0.ebuild | 45 ++++++++++++++++++++++ 2 files changed, 47 insertions(+) diff --git a/net-im/mattermost-desktop/Manifest b/net-im/mattermost-desktop/Manifest new file mode 100644 index 0000000..2e93b2d --- /dev/null +++ b/net-im/mattermost-desktop/Manifest @@ -0,0 +1,2 @@ +DIST mattermost-desktop-1.3.0.tar.gz 923509 SHA256 4a37253d2b3cc6b396c6e22bbf1ba20eb5144f1836f8fe1acedebd47e155326e SHA512 2947cab9f22adcb737a272f5998ed725143e13414cc1874085895db815ab1c4e5251af3ca8c49fc6f9c60d432cb35260537b8fbe46a212ab64d043624eee9c34 WHIRLPOOL 84dee52f41f3478864746987fe3c6d3a479bb2108ba76d22b0f10002c95262f14511e8921b96322f87d5c38e6c5c8a6dc8e915661bb903bed2768bfbb61e6772 +EBUILD mattermost-desktop-1.3.0.ebuild 1197 SHA256 5f21c2d568c6f44256cf70e14dcc969fc543b26e58311ac0f57e890d0fdb077b SHA512 5c6d245af2e75e8c24876a1bea69ed98a19ba751691871d6d817677458c7d888b931fb2332790abe4ab9b23af152bc8d898994074755e86434d24a3774dc7502 WHIRLPOOL 8ccd060923b825235736312bb329a158b393db85ab818c37747c2c148c08bd6e31b1fde20e1ad0140dc1732a26e6c9308b15ae234c5e892d66bb44da5b2f660f diff --git a/net-im/mattermost-desktop/mattermost-desktop-1.3.0.ebuild b/net-im/mattermost-desktop/mattermost-desktop-1.3.0.ebuild new file mode 100644 index 0000000..8bbf2eb --- /dev/null +++ b/net-im/mattermost-desktop/mattermost-desktop-1.3.0.ebuild @@ -0,0 +1,45 @@ +# Copyright 1999-2015 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: $ +# https://aur.archlinux.org/cgit/aur.git/tree/PKGBUILD?h=mattermost-desktop + +EAPI=5 + +inherit eutils unpacker + +DESCRIPTION="Mattermost chat desktop client for Linux" +HOMEPAGE="https://github.com/mattermost/desktop" +SRC_URI="https://github.com/mattermost/desktop/archive/v${PV}.tar.gz -> ${P}.tar.gz" + +LICENSE="MIT" +SLOT="1" +KEYWORDS="" +IUSE="" + +DEPEND=" + net-libs/nodejs[npm] +" +RDEPEND=" + ${DEPEND} + gnome-base/gconf + !net-im/mattermost +" + +src_compile() { + default + + npm install || die "npm install failed!" + npm run package || die "npm run package failed!" +} + +src_install() { + cp -R "${WORKDIR}" "${D}/usr/lib/mattermost" || die "Install failed!" + + ln -s "/usr/lib/mattermost/Mattermost" "${D}/usr/bin/mattermost" || die "Install failed!" + + #cp "${WORKDIR}/LICENSE" "${D}/usr/share/licenses/${PN}/LICENSE" || die "Install failed!" + + cp "${WORKDIR}/src/resources/appicon.png" "${D}/usr/share/pixmaps/${PN}.png" || die "Install failed!" + make_desktop_entry /usr/bin/mattermost "Mattermost Desktop" ${PN} "GNOME;GTK;Network;InstantMessaging;" || die "Install failed!" +} +