Date: Thursday, April 30, 2015 @ 21:13:14 Author: daniel Revision: 238300
Adding nuget to repository Added: nuget/ nuget/repos/ nuget/trunk/ nuget/trunk/PKGBUILD nuget/trunk/nuget nuget/trunk/nuget.install ---------------+ PKGBUILD | 22 ++++++++++++++++++++++ nuget | 3 +++ nuget.install | 16 ++++++++++++++++ 3 files changed, 41 insertions(+) Added: nuget/trunk/PKGBUILD =================================================================== --- nuget/trunk/PKGBUILD (rev 0) +++ nuget/trunk/PKGBUILD 2015-04-30 19:13:14 UTC (rev 238300) @@ -0,0 +1,22 @@ +# Maintainer: Daniel Isenmann <[email protected]> +# Contributor: wenLiangcan <boxeed at gmail dot com> + +pkgname=nuget +pkgver=2.8.60318.667 +pkgrel=1 +pkgdesc="Package manager for .NET." +arch=('any') +url="http://www.nuget.org" +license=('Apache') +depends=('mono' 'sh') +source=("http://nuget.org/nuget.exe" + "${pkgname}") +md5sums=('c0888dc1e2c4da4e621719a69e1cc0d2' + '7d52a5ad1c8ba770f57940457c26644f') +install="${pkgname}.install" + +package() { + install -Dm755 "${pkgname}.exe" "${pkgdir}/opt/${pkgname}/${pkgname}.exe" + install -Dm755 "${pkgname}" "${pkgdir}/usr/bin/${pkgname}" +} + Property changes on: nuget/trunk/PKGBUILD ___________________________________________________________________ Added: svn:keywords ## -0,0 +1 ## +Id \ No newline at end of property Added: nuget/trunk/nuget =================================================================== --- nuget/trunk/nuget (rev 0) +++ nuget/trunk/nuget 2015-04-30 19:13:14 UTC (rev 238300) @@ -0,0 +1,3 @@ +#!/bin/sh + +mono --runtime=v4.0 /opt/nuget/nuget.exe $* Added: nuget/trunk/nuget.install =================================================================== --- nuget/trunk/nuget.install (rev 0) +++ nuget/trunk/nuget.install 2015-04-30 19:13:14 UTC (rev 238300) @@ -0,0 +1,16 @@ +post_install() { + cat << EOF +In order to use NuGet make sure that you execute: + +mozroots --sync --import + +If you want to import the certificate system-wide then execute as root: + +mozroots --sync --import --machine + +EOF +} + +post_upgrade() { + post_install +}
