logo

overlay

My (experimental) gentoo overlay

nuget-4.9.2.ebuild (573B)


      1 # Copyright 1999-2018 Gentoo Foundation
      2 # Distributed under the terms of the GNU General Public License v2
      3 
      4 EAPI=7
      5 
      6 # See https://dist.nuget.org/index.json for available versions
      7 
      8 DESCRIPTION="Nuget - .NET Package Manager"
      9 HOMEPAGE="https://www.nuget.org/"
     10 SRC_URI="https://dist.nuget.org/win-x86-commandline/v${PV}/nuget.exe -> ${P}.exe"
     11 
     12 LICENSE="Apache-2.0"
     13 SLOT="0"
     14 KEYWORDS="~amd64 ~x86"
     15 IUSE=""
     16 
     17 S="${WORKDIR}"
     18 
     19 src_compile() { :; }
     20 
     21 src_install() {
     22 	exeinto "/usr/bin"
     23 	doexe "${FILESDIR}/nuget"
     24 	insinto "/usr/lib/${PN}"
     25 	newins "${DISTDIR}/${P}.exe" "nuget.exe"
     26 }