summaryrefslogtreecommitdiff
path: root/app-office/worklog-assistant-bin/worklog-assistant-bin-2.3.3900.ebuild
blob: 1d0c08bba197412aa2be834b4a6350f4313eaa07 (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
# Copyright 1999-2024 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2

EAPI=8

inherit unpacker

DESCRIPTION="Hassle-free time tracking for JIRA self-hosted and OnDemand"
HOMEPAGE="https://worklogassistant.com"
SRC_URI="https://worklogassistant.com/downloads/${PN%-bin}-v2_${PV}_amd64.deb"
S=${WORKDIR}

LICENSE="worklog-assistant"
SLOT="0"
KEYWORDS="-* ~amd64"
RESTRICT="fetch bindist strip"

QA_PREBUILT="opt/Worklog Assistant/*"

src_prepare() {
	default

	rm -r etc/ || die
}

src_install() {
	mv * "${ED}" || die

	dosym -r "/opt/Worklog Assistant/bin/Worklog Assistant" /opt/bin/WorklogAssistant
}