[arch-commits] Commit in nuget/repos (5 files)

Felix Yan felixonmars at archlinux.org
Thu Jun 4 07:30:52 UTC 2020


    Date: Thursday, June 4, 2020 @ 07:30:51
  Author: felixonmars
Revision: 388246

archrelease: copy trunk to testing-any

Added:
  nuget/repos/testing-any/
  nuget/repos/testing-any/PKGBUILD
    (from rev 388245, nuget/trunk/PKGBUILD)
  nuget/repos/testing-any/nuget
    (from rev 388245, nuget/trunk/nuget)
  nuget/repos/testing-any/nuget.install
    (from rev 388245, nuget/trunk/nuget.install)
  nuget/repos/testing-any/nuget.pc
    (from rev 388245, nuget/trunk/nuget.pc)

---------------+
 PKGBUILD      |   29 +++++++++++++++++++++++++++++
 nuget         |    2 ++
 nuget.install |   10 ++++++++++
 nuget.pc      |   10 ++++++++++
 4 files changed, 51 insertions(+)

Copied: nuget/repos/testing-any/PKGBUILD (from rev 388245, nuget/trunk/PKGBUILD)
===================================================================
--- testing-any/PKGBUILD	                        (rev 0)
+++ testing-any/PKGBUILD	2020-06-04 07:30:51 UTC (rev 388246)
@@ -0,0 +1,29 @@
+# Maintainer: Giancarlo Razzolini <grazzolini at archlinux.org>
+# Contributor: Daniel Isenmann <daniel at archlinux.org>
+# Contributor: wenLiangcan <boxeed at gmail dot com>
+
+pkgname=nuget
+pkgver=5.6.0
+pkgrel=1
+pkgdesc="Package manager for .NET."
+arch=('any')
+url="https://www.nuget.org"
+license=('APACHE')
+depends=('mono' 'sh')
+source=("https://dist.nuget.org/win-x86-commandline/v${pkgver}/nuget.exe"
+        "${pkgname}"
+        "${pkgname}.pc")
+install="${pkgname}.install"
+md5sums=('3f8a53a524c54cf2e4efb7aea370a977'
+         'ec321eaa807564b85aacfafb227f7f55'
+         'ffb7d95fb39f72c9619c72db91ec36a0')
+sha512sums=('a4be44f8a9f4868a91c1f0336fae598b4d3dc3f1eecac1a8e0c9dd81d8adc100ca127b40449b01d0ad7f52074d3c83a9d19d5356a776f95f88f41d1f0b297bf5'
+            'd19b4f7683aeb2891397060c6ed0fabe9083726268825d5338a7a95ef5d7aaa66db41226ae3a3f26eecbbeea4cdee0bdeeedf61e7fc5017a568ebe2753e2ada6'
+            '50f77fdfc089afc516325057e2e4efdea353c09626073fb07457acf728268ac5e131e785d394b70c9db0ca6ae96e425d882cdf2b2b013c864dc91c32b85e508f')
+
+package() {
+    install -Dm 0644 ${srcdir}/nuget.pc ${pkgdir}/usr/lib/pkgconfig/nuget.pc
+
+    install -Dm 0644 ${srcdir}/nuget.exe ${pkgdir}/usr/lib/nuget/nuget.exe
+    install -Dm 0755 ${srcdir}/nuget ${pkgdir}/usr/bin/nuget
+}

Copied: nuget/repos/testing-any/nuget (from rev 388245, nuget/trunk/nuget)
===================================================================
--- testing-any/nuget	                        (rev 0)
+++ testing-any/nuget	2020-06-04 07:30:51 UTC (rev 388246)
@@ -0,0 +1,2 @@
+#!/bin/sh
+exec mono $MONO_OPTIONS /usr/lib/nuget/nuget.exe "$@"

Copied: nuget/repos/testing-any/nuget.install (from rev 388245, nuget/trunk/nuget.install)
===================================================================
--- testing-any/nuget.install	                        (rev 0)
+++ testing-any/nuget.install	2020-06-04 07:30:51 UTC (rev 388246)
@@ -0,0 +1,10 @@
+post_install() {
+    post_upgrade
+}
+
+post_upgrade() {
+    mozroots --import --machine --sync
+    yes | certmgr -ssl -m https://go.microsoft.com
+    yes | certmgr -ssl -m https://nugetgallery.blob.core.windows.net
+    yes | certmgr -ssl -m https://nuget.org
+}

Copied: nuget/repos/testing-any/nuget.pc (from rev 388245, nuget/trunk/nuget.pc)
===================================================================
--- testing-any/nuget.pc	                        (rev 0)
+++ testing-any/nuget.pc	2020-06-04 07:30:51 UTC (rev 388246)
@@ -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