mail-client/nylas-mail: add ebuild
This commit is contained in:
parent
2de909f651
commit
17be09c48c
2 changed files with 68 additions and 0 deletions
2
mail-client/nylas-mail/Manifest
Normal file
2
mail-client/nylas-mail/Manifest
Normal file
|
|
@ -0,0 +1,2 @@
|
||||||
|
DIST nylas-mail-2.2.2-amd64.deb 74570232 SHA256 deb16edd2564c08e5fca3579c5e55b8f2a1030739d12d48cce804a83f35e7f9b SHA512 74a859fc8789fee3ac740590a265753b3b88081ed39ab0e222ea3c6d4de34dc6dfa0442f139ae960c930c7ebb0bdf3b0dcdf1f20e7a2d203c3698bc0aa3d39eb WHIRLPOOL 1a4092d7ebfce719d85398b57aed6ff1ff8f09469900b129f18ff8194a345f23f3cf8f983e244206c3ad6d488cad1a5ef6569f2bc2275cd7c3e6a33a0c10a943
|
||||||
|
EBUILD nylas-mail-2.2.2.ebuild 1503 SHA256 4d6ea59fa22d1f10584255ad1715e17148220f506936231b159ecb19db2f5bd9 SHA512 9cb3d0aeeea7c5ac952be9d8a9a4a628d0430bc673070e44165017ab3dfb53b73522aeaf09480ede57c9226ba476cc96c3720100d954d2373f7c35506943beb0 WHIRLPOOL d63d764c28de72c37fb4201297cbc6a5304a211abe4c698183f347d3ceff7961b3c42505feb59d6f3038da59c259d0a504f000ea0fc66b8da06653ac3259ec00
|
||||||
66
mail-client/nylas-mail/nylas-mail-2.2.2.ebuild
Normal file
66
mail-client/nylas-mail/nylas-mail-2.2.2.ebuild
Normal file
|
|
@ -0,0 +1,66 @@
|
||||||
|
# Copyright 1999-2017 Gentoo Foundation
|
||||||
|
# Distributed under the terms of the GNU General Public License v2
|
||||||
|
|
||||||
|
EAPI=6
|
||||||
|
|
||||||
|
PYTHON_COMPAT=( python2_7 )
|
||||||
|
|
||||||
|
inherit eutils unpacker python-r1
|
||||||
|
|
||||||
|
DESCRIPTION="A new cross-platform mail client, built on the modern web and designed to be extended."
|
||||||
|
HOMEPAGE="https://github.com/nylas-mail-lives/nylas-mail"
|
||||||
|
PKG_VER="fec7941"
|
||||||
|
SRC_URI="
|
||||||
|
amd64? ( https://github.com/nylas-mail-lives/nylas-mail/releases/download/${PV}/${P}-amd64.deb )
|
||||||
|
"
|
||||||
|
|
||||||
|
RESTRICT="mirror strip"
|
||||||
|
LICENSE="MIT"
|
||||||
|
SLOT="0"
|
||||||
|
KEYWORDS="~amd64"
|
||||||
|
IUSE=""
|
||||||
|
|
||||||
|
QA_PRESTRIPPED="
|
||||||
|
/usr/share/${PN//-bin}/nylas
|
||||||
|
/usr/share/${PN//-bin}/libffmpeg.so
|
||||||
|
/usr/share/${PN//-bin}/libnode.so
|
||||||
|
"
|
||||||
|
|
||||||
|
RDEPEND="
|
||||||
|
x11-libs/gtk+:2
|
||||||
|
gnome-base/libgnome-keyring
|
||||||
|
gnome-base/gnome-keyring
|
||||||
|
${PYTHON_DEPS}
|
||||||
|
dev-util/desktop-file-utils
|
||||||
|
gnome-base/gconf
|
||||||
|
net-libs/nodejs[npm]
|
||||||
|
x11-libs/libnotify
|
||||||
|
x11-libs/libXtst
|
||||||
|
dev-libs/nss
|
||||||
|
media-libs/alsa-lib
|
||||||
|
x11-libs/libXScrnSaver
|
||||||
|
!mail-client/nylas-mail
|
||||||
|
"
|
||||||
|
DEPEND="${RDEPEND}"
|
||||||
|
|
||||||
|
S="${WORKDIR}"
|
||||||
|
|
||||||
|
src_unpack(){
|
||||||
|
unpack_deb "${A}"
|
||||||
|
}
|
||||||
|
|
||||||
|
src_prepare(){
|
||||||
|
find -name '*.py' -exec sed -i 's|^#!/usr/bin/env python\s*$|#!/usr/bin/env python2|' {} \;
|
||||||
|
find -name '*.py' -exec sed -i 's|^#!/usr/bin/python\s*$|#!/usr/bin/python2|' {} \;
|
||||||
|
eapply_user
|
||||||
|
}
|
||||||
|
|
||||||
|
src_install(){
|
||||||
|
insinto /
|
||||||
|
doins -r *
|
||||||
|
insinto /usr/share/licenses/${PN//-bin}
|
||||||
|
doins usr/share/${PN//-bin}/LICENSE
|
||||||
|
fperms +x /usr/share/${PN//-bin}/nylas
|
||||||
|
fperms +x /usr/share/${PN//-bin}/libnode.so
|
||||||
|
fperms +x /usr/share/${PN//-bin}/resources/apm/bin/{node,apm}
|
||||||
|
}
|
||||||
Loading…
Add table
Add a link
Reference in a new issue