summaryrefslogtreecommitdiff
path: root/net-im/rambox/rambox-0.7.7-r2.ebuild
blob: 9f02b321b3a74fa04d4c6e032c0309bf3c916ec6 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
EAPI=7

inherit desktop

DESCRIPTION="Messaging and emailing app that combines common web applications into one"
HOMEPAGE="https://github.com/ramboxapp/community-edition"
SRC_URI="https://github.com/ramboxapp/community-edition/releases/download/${PV}/Rambox-${PV}-linux-x64.tar.gz -> ${P}.tar.gz"
S="${WORKDIR}"

LICENSE="GPL-3.0+"
SLOT="0"
KEYWORDS="amd64"

src_install() {
	dodir /opt
	cp -R "${S}/Rambox-${PV}-linux-x64/" "${D}/opt/rambox/" || die "Install failed!"
	dodir /usr/bin
	ln -s /opt/rambox/rambox "${D}/usr/bin/rambox"
	make_desktop_entry rambox Rambox
}