[arch-commits] Commit in nuget/repos/extra-any (7 files)

Daniel Isenmann daniel at archlinux.org
Wed May 6 07:01:31 UTC 2015


    Date: Wednesday, May 6, 2015 @ 09:01:31
  Author: daniel
Revision: 238534

archrelease: copy trunk to extra-any

Added:
  nuget/repos/extra-any/PKGBUILD
    (from rev 238533, nuget/trunk/PKGBUILD)
  nuget/repos/extra-any/nuget
    (from rev 238533, nuget/trunk/nuget)
  nuget/repos/extra-any/nuget.install
    (from rev 238533, nuget/trunk/nuget.install)
  nuget/repos/extra-any/nuget.pc
    (from rev 238533, nuget/trunk/nuget.pc)
Deleted:
  nuget/repos/extra-any/PKGBUILD
  nuget/repos/extra-any/nuget
  nuget/repos/extra-any/nuget.install

---------------+
 PKGBUILD      |   63 ++++++++++++++++++++++++++++++++++++--------------------
 nuget         |    7 +++---
 nuget.install |   26 ++++++++---------------
 nuget.pc      |   10 ++++++++
 4 files changed, 65 insertions(+), 41 deletions(-)

Deleted: PKGBUILD
===================================================================
--- PKGBUILD	2015-05-06 07:01:26 UTC (rev 238533)
+++ PKGBUILD	2015-05-06 07:01:31 UTC (rev 238534)
@@ -1,22 +0,0 @@
-# Maintainer: Daniel Isenmann <daniel at archlinux.org>
-# 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}"
-}
-

Copied: nuget/repos/extra-any/PKGBUILD (from rev 238533, nuget/trunk/PKGBUILD)
===================================================================
--- PKGBUILD	                        (rev 0)
+++ PKGBUILD	2015-05-06 07:01:31 UTC (rev 238534)
@@ -0,0 +1,41 @@
+# Maintainer: Daniel Isenmann <daniel at archlinux.org>
+# Contributor: wenLiangcan <boxeed at gmail dot com>
+
+pkgname=nuget
+pkgver=2.8.5
+pkgrel=1
+pkgdesc="Package manager for .NET."
+arch=('any')
+url="http://www.nuget.org"
+license=('APACHE')
+depends=('mono' 'sh')
+source=(https://sources.archlinux.org/other/packages/${pkgname}/${pkgname}-${pkgver}.tar.gz
+        "${pkgname}"
+        "${pkgname}.pc"
+	"https://sources.archlinux.org/other/packages/${pkgname}/xdt.tar.gz")
+md5sums=('38793be9c7748960b1951ff436e9863e'
+         'dce06048fb6eb42beb69001adb2fd530'
+         'ffb7d95fb39f72c9619c72db91ec36a0'
+         '61580e6d1e1ecf80f8f2caf4a43b7b71')
+install="${pkgname}.install"
+epoch=1
+
+build() {
+	xbuild /p:Configuration=Release xdt/XmlTransform/Microsoft.Web.XmlTransform.csproj
+	cd ${srcdir}/${pkgname}-${pkgver}
+	xbuild Build/Build.proj /p:Configuration=Release /p:TreatWarningsAsErrors=false /tv:4.0 /p:TargetFrameworkVersion=v4.5 /p:Configuration="Mono Release" /t:BuildMono
+}
+
+package() {
+
+mkdir -p ${pkgdir}/lib/pkgconfig
+install -m 0644 ${srcdir}/nuget.pc ${pkgdir}/lib/pkgconfig/nuget.pc
+
+install -d ${pkgdir}/lib/nuget
+install -m 0644 ${srcdir}/nuget-2.8.5/src/CommandLine/obj/Mono\ Release/NuGet.exe ${pkgdir}/lib/nuget/
+install -m 0644 ${srcdir}/nuget-2.8.5/src/Core/obj/Mono\ Release/NuGet.Core.dll ${pkgdir}/lib/nuget/
+install -m 0644 ${srcdir}/xdt/XmlTransform/obj/Release/Microsoft.Web.XmlTransform.dll ${pkgdir}/lib/nuget/
+
+install -d ${pkgdir}/usr/bin
+install -m 0755 ${srcdir}/nuget ${pkgdir}/usr/bin/nuget
+}

Deleted: nuget
===================================================================
--- nuget	2015-05-06 07:01:26 UTC (rev 238533)
+++ nuget	2015-05-06 07:01:31 UTC (rev 238534)
@@ -1,3 +0,0 @@
-#!/bin/sh
-
-mono --runtime=v4.0 /opt/nuget/nuget.exe $*

Copied: nuget/repos/extra-any/nuget (from rev 238533, nuget/trunk/nuget)
===================================================================
--- nuget	                        (rev 0)
+++ nuget	2015-05-06 07:01:31 UTC (rev 238534)
@@ -0,0 +1,4 @@
+#!/bin/sh
+MONO_PATH=/usr/lib/nuget:$MONO_PATH
+export MONO_PATH
+exec mono $MONO_OPTIONS --runtime=v4.0 /usr/lib/nuget/NuGet.exe $*

Deleted: nuget.install
===================================================================
--- nuget.install	2015-05-06 07:01:26 UTC (rev 238533)
+++ nuget.install	2015-05-06 07:01:31 UTC (rev 238534)
@@ -1,16 +0,0 @@
-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
-}

Copied: nuget/repos/extra-any/nuget.install (from rev 238533, nuget/trunk/nuget.install)
===================================================================
--- nuget.install	                        (rev 0)
+++ nuget.install	2015-05-06 07:01:31 UTC (rev 238534)
@@ -0,0 +1,10 @@
+post_install() {
+    post_upgrade
+}
+
+post_upgrade() {
+    mozroots --import --machine --sync
+    certmgr -ssl -m https://go.microsoft.com
+    certmgr -ssl -m https://nugetgallery.blob.core.windows.net
+    certmgr -ssl -m https://nuget.org
+}

Copied: nuget/repos/extra-any/nuget.pc (from rev 238533, nuget/trunk/nuget.pc)
===================================================================
--- nuget.pc	                        (rev 0)
+++ nuget.pc	2015-05-06 07:01:31 UTC (rev 238534)
@@ -0,0 +1,10 @@
+prefix=/usr
+exec_prefix=${prefix}
+libdir=${prefix}/lib
+includedir=${prefix}/include
+Libraries=${prefix}/lib/nuget/NuGet.Core.dll ${prefix}/lib/nuget/Microsoft.Web.XmlTransform.dll
+
+Name: nuget
+Description: Library for acessing Microsoft NuGet repositories
+Version: %{version}
+Libs: -r:${libdir}/nuget/NuGet.Core.dll -r:${libdir}/nuget/Microsoft.Web.XmlTransform.dll



More information about the arch-commits mailing list