blob: c92fd3a523e3ee90e1c8cb8beb299f3b74df839b (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
|
# Copyright 2022 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=8
DESCRIPTION="Tutanota is an email service with a strong focus on security and privacy"
HOMEPAGE="https://tutanota.com/"
SRC_URI="https://github.com/tutao/${PN}/archive/${PN}-release-${PV}-unpacked-linux.tar.gz -> ${P}.tar.gz"
LICENSE="GPL-3"
SLOT="0"
KEYWORDS="~amd64"
DEPEND=">=net-libs/nodejs-14.0.0[npm]"
RDEPEND="${DEPEND}
app-crypt/libsecret"
BDEPEND=""
S=${WORKDIR}/${PN}-${PN}-release-${PV}
src_prepare() {
default
}
src_configure() {
export NODE_ENV="production"
npm ci
default
}
src_compile() {
npm run build-packages
}
src_install() {
node desktop --custom-desktop-release
}
|