2024-03-30 02:52:54 +01:00
|
|
|
# Copyright 1999-2024 Gentoo Foundation
|
2022-11-18 01:18:42 +01:00
|
|
|
# Distributed under the terms of the GNU General Public License v2
|
|
|
|
|
|
|
|
EAPI=8
|
|
|
|
|
|
|
|
# See https://dist.nuget.org/index.json for available versions
|
|
|
|
|
|
|
|
DESCRIPTION="Nuget - .NET Package Manager"
|
|
|
|
HOMEPAGE="https://www.nuget.org/"
|
|
|
|
SRC_URI="https://dist.nuget.org/win-x86-commandline/v${PV}/nuget.exe -> ${P}.exe"
|
|
|
|
|
2024-06-12 00:56:18 +02:00
|
|
|
S="${WORKDIR}"
|
|
|
|
|
2022-11-18 01:18:42 +01:00
|
|
|
LICENSE="Apache-2.0"
|
|
|
|
SLOT="0"
|
|
|
|
KEYWORDS="~amd64 ~x86"
|
|
|
|
|
2023-06-16 22:34:26 +02:00
|
|
|
DEPEND="dev-lang/mono"
|
|
|
|
|
2022-11-18 01:18:42 +01:00
|
|
|
src_compile() { :; }
|
|
|
|
|
|
|
|
src_install() {
|
|
|
|
exeinto "/usr/bin"
|
|
|
|
doexe "${FILESDIR}/nuget"
|
|
|
|
insinto "/usr/lib/${PN}"
|
|
|
|
newins "${DISTDIR}/${P}.exe" "nuget.exe"
|
|
|
|
}
|