mirror of
https://github.com/gentoo-mirror/guru.git
synced 2026-07-17 11:04:10 -04:00
app-emulation/86BoxManagerX: add 9999
Signed-off-by: Gonçalo Negrier Duarte <gonegrier.duarte@gmail.com>
This commit is contained in:
37
app-emulation/86BoxManagerX/86BoxManagerX-9999.ebuild
Normal file
37
app-emulation/86BoxManagerX/86BoxManagerX-9999.ebuild
Normal file
@@ -0,0 +1,37 @@
|
||||
# Copyright 1999-2023 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=7
|
||||
|
||||
inherit desktop git-r3
|
||||
EGIT_REPO_URI="https://github.com/RetBox/86BoxManagerX.git"
|
||||
DESCRIPTION="A (cross-platform) configuration manager for the 86Box emulator"
|
||||
HOMEPAGE="https://github.com/RetBox/86BoxManagerX"
|
||||
|
||||
DEPEND="app-emulation/86Box
|
||||
dev-dotnet/dotnet-sdk-bin
|
||||
"
|
||||
|
||||
LICENSE="MIT"
|
||||
SLOT="0"
|
||||
|
||||
src_unpack() {
|
||||
git-r3_checkout
|
||||
cd "${S}"
|
||||
dotnet publish 86BoxManager -r linux-x64
|
||||
}
|
||||
|
||||
src_compile () {
|
||||
dotnet publish 86BoxManager -r linux-x64 -c Release --self-contained true -o 86BoxManagerX
|
||||
}
|
||||
|
||||
src_install() {
|
||||
#Install binary and alias command
|
||||
insinto /opt && doins -r "${WORKDIR}/${P}/86BoxManagerX"
|
||||
insinto /opt/bin/ && doins "${FILESDIR}/86BoxManagerX"
|
||||
fperms +x /opt/86BoxManagerX/86Manager /opt/bin/86BoxManagerX /opt/86BoxManagerX/*.dll
|
||||
|
||||
#Icon and Desktop File
|
||||
doicon "${FILESDIR}/86BoxManagerX.png"
|
||||
domenu "${FILESDIR}/86BoxManagerX.desktop"
|
||||
}
|
||||
Reference in New Issue
Block a user