summaryrefslogtreecommitdiff
path: root/net-im/ferdium/ferdium-6.0.0-r1.ebuild
blob: 37e528ec16f4a574b4efe847b9bb7793c10c97a7 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
EAPI=7

inherit desktop

NIGHTLY=74
DESCRIPTION="Messaging app that combines common web applications into one"
HOMEPAGE="https://ferdium.org/"
SRC_URI="https://github.com/ferdium/ferdium-app/releases/download/v${PV}-nightly.${NIGHTLY}/ferdium-${PV}-nightly.${NIGHTLY}.tar.gz"
S="${WORKDIR}"

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

src_install() {
	dodir /opt
	cp -R "${S}/ferdium-${PV}-nightly.${NIGHTLY}/" "${D}/opt/ferdium/" || die "Install failed!"
	dodir /usr/bin
	ln -s /opt/ferdium/ferdium "${D}/usr/bin/ferdium"
	make_desktop_entry ferdium Ferdium
}