[arch-commits] Commit in nuget/repos (5 files)
Giancarlo Razzolini
grazzolini at archlinux.org
Thu Apr 23 01:46:56 UTC 2020
Date: Thursday, April 23, 2020 @ 01:46:55
Author: grazzolini
Revision: 380733
archrelease: copy trunk to testing-any
Added:
nuget/repos/testing-any/
nuget/repos/testing-any/PKGBUILD
(from rev 380732, nuget/trunk/PKGBUILD)
nuget/repos/testing-any/nuget
(from rev 380732, nuget/trunk/nuget)
nuget/repos/testing-any/nuget.install
(from rev 380732, nuget/trunk/nuget.install)
nuget/repos/testing-any/nuget.pc
(from rev 380732, 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 380732, nuget/trunk/PKGBUILD)
===================================================================
--- testing-any/PKGBUILD (rev 0)
+++ testing-any/PKGBUILD 2020-04-23 01:46:55 UTC (rev 380733)
@@ -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.5.1
+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=('385a118f61828f6a845c8dd981172e20'
+ '7c68f5691c98aeac031f36f3db93b1ac'
+ 'ffb7d95fb39f72c9619c72db91ec36a0')
+sha512sums=('22ea847d8017cd977664d0b13c889cfb13c89143212899a511be217345a4e243d4d8d4099700114a11d26a087e83eb1a3e2b03bdb5e0db48f10403184cd26619'
+ '36afaedb223c95014c3708df47cdedb87458c12f886043c68119f867a92449997b12338a6b17545e22397c3964e1991f5ecf0724517399f8101bfa09fa293b9f'
+ '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 380732, nuget/trunk/nuget)
===================================================================
--- testing-any/nuget (rev 0)
+++ testing-any/nuget 2020-04-23 01:46:55 UTC (rev 380733)
@@ -0,0 +1,2 @@
+#!/bin/sh
+exec mono $MONO_OPTIONS /usr/lib/nuget/nuget.exe "\$@"
Copied: nuget/repos/testing-any/nuget.install (from rev 380732, nuget/trunk/nuget.install)
===================================================================
--- testing-any/nuget.install (rev 0)
+++ testing-any/nuget.install 2020-04-23 01:46:55 UTC (rev 380733)
@@ -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 380732, nuget/trunk/nuget.pc)
===================================================================
--- testing-any/nuget.pc (rev 0)
+++ testing-any/nuget.pc 2020-04-23 01:46:55 UTC (rev 380733)
@@ -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