summaryrefslogtreecommitdiff
path: root/app-misc/doublecmd-bin/doublecmd-bin-9999.ebuild
blob: 4ab2d8555e7ff0182d57fb43f78cb67b8d81726f (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
# Copyright 2024 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2

EAPI=8

DESCRIPTION="Double Commander: file manager with two panels, similar to Total Commander"
HOMEPAGE="https://doublecmd.sourceforge.io/"

S="${WORKDIR}"

LICENSE="GPL-2"
SLOT="0"
PROPERTIES="live"
IUSE="+gtk qt5"
REQUIRED_USE=" ^^ ( gtk qt5 ) "

RESTRICT="strip"

RDEPEND="sys-fs/fuse:0"

QA_PREBUILT="*"

src_unpack() {
	if use gtk; then
		wget https://download.opensuse.org/repositories/home:/Alexx2000/AppImage/doublecmd-gtk-latest-x86_64.AppImage
	else
		wget https://download.opensuse.org/repositories/home:/Alexx2000/AppImage/doublecmd-qt-latest-x86_64.AppImage
	fi
}

src_install() {
	newbin *.AppImage doublecmd-appimage
}