logo

overlay

My (experimental) gentoo overlay
commit: 8c9508bff1a0db4ef8285da1e4a5613d3face1ff
parent: f6795df6f6b9add75e782f75107fe51ef0d9dee8
Author: Haelwenn (lanodan) Monnier <contact@hacktivis.me>
Date:   Thu,  8 Mar 2018 01:00:59 +0100

dev-dotnet/nuget: Initial Commit

Diffstat:

Adev-dotnet/nuget/Manifest1+
Adev-dotnet/nuget/files/nuget2++
Adev-dotnet/nuget/metadata.xml8++++++++
Adev-dotnet/nuget/nuget-4.5.1.ebuild23+++++++++++++++++++++++
4 files changed, 34 insertions(+), 0 deletions(-)

diff --git a/dev-dotnet/nuget/Manifest b/dev-dotnet/nuget/Manifest @@ -0,0 +1 @@ +DIST nuget.exe 5066856 SHA256 13f6f14ee77cdded5e4eea815721e23fed947958f288229e9c4e355aa6e042af SHA512 df8bd5409d635f90d75f80804b8e0a88dc856e4fb14c1c849da60488bd1525be3932f464e9c492c2783821931d44e5407e3e058d5aff10bdad889e693ee7d5ef WHIRLPOOL ba681a98e75c2639ad0e245c445173ecc35149366d1ea574dba4b55ae579f1ec65a88d7fd4fee6f60b280969f6fc1f6c3f3bb3755486e2ebc5e6fc5352afe748 diff --git a/dev-dotnet/nuget/files/nuget b/dev-dotnet/nuget/files/nuget @@ -0,0 +1,2 @@ +#!/bin/sh +mono --runtime=v4.0 /usr/lib/nuget/nuget.exe $* diff --git a/dev-dotnet/nuget/metadata.xml b/dev-dotnet/nuget/metadata.xml @@ -0,0 +1,8 @@ +<?xml version="1.0" encoding="UTF-8"?> +<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd"> +<pkgmetadata> +<maintainer type="person"> + <email>contact@hacktivis.me</email> + <name>Haelwenn (lanodan) Monnier</name> +</maintainer> +</pkgmetadata> diff --git a/dev-dotnet/nuget/nuget-4.5.1.ebuild b/dev-dotnet/nuget/nuget-4.5.1.ebuild @@ -0,0 +1,23 @@ +# Copyright 1999-2018 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 + +EAPI=6 + +DESCRIPTION="Nuget - .NET Package Manager" +HOMEPAGE="https://www.nuget.org/" +SRC_URI="https://dist.nuget.org/win-x86-commandline/v${PV}/nuget.exe" + +LICENSE="Apache-2.0" +SLOT="0" +KEYWORDS="~amd64 ~x86" +IUSE="" + +S="${WORKDIR}" + +src_compile() { :; } + +src_install() { + doexe "${FILESDIR}/nuget" + insinto "/usr/lib/${PN}" + doins "${DISTDIR}/nuget.exe" +}