summaryrefslogtreecommitdiff
path: root/dev-perl/algaos-updater/algaos-updater-1.0.0_rc5.ebuild
blob: fef709264f8a240d8e2a218941ac71af6024d349 (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
38
39
40
41
42
43
44
45
46
47
48
49
# Copyright 2026 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2

EAPI=8

DIST_AUTHOR="sergiotarxz"
inherit perl-module desktop git-r3 xdg-utils
HOMEPAGE="https://git.algaos.com/algaos/algaos-updater"
EGIT_REPO_URI="https://git.algaos.com/algaos/algaos-updater"
EGIT_COMMIT="v${PV/_rc/-rc}"
SRC_URI=""
KEYWORDS="amd64"

DESCRIPTION="AlgaOS Updater"

LICENSE="AGPL-3+"
SLOT="0"

RDEPEND="
	dev-lang/perl
	dev-perl/Crypt-URandom
	dev-perl/Moo
	dev-perl/PBKDF2-Tiny
	dev-perl/JSON
	gui-libs/gtk:4
"

DEPEND="${RDEPEND}"
BDEPEND="
	dev-perl/Module-Build
"


src_install() {
	perl-module_src_install
	dobin scripts/algaos-updater
	domenu com.algaos.Updater.desktop
	insinto /etc/xdg/autostart
	doins com.algaos.Updater.desktop
	newicon -s scalable com.algaos.Updater.svg com.algaos.Updater.svg
}

pkg_postinst() {
	xdg_icon_cache_update
}

pkg_postrm() {
	xdg_icon_cache_update
}