[arch-commits] Commit in nuget/trunk (PKGBUILD nuget)
Giancarlo Razzolini
grazzolini at archlinux.org
Thu Apr 23 01:46:05 UTC 2020
Date: Thursday, April 23, 2020 @ 01:46:04
Author: grazzolini
Revision: 380732
upgpkg: nuget 5.5.1-1
Changed to using the compiled version for now, since
it's very difficult to build it from source as it is now.
Modified:
nuget/trunk/PKGBUILD
nuget/trunk/nuget
----------+
PKGBUILD | 38 +++++++++++++-------------------------
nuget | 4 +---
2 files changed, 14 insertions(+), 28 deletions(-)
Modified: PKGBUILD
===================================================================
--- PKGBUILD 2020-04-23 01:08:26 UTC (rev 380731)
+++ PKGBUILD 2020-04-23 01:46:04 UTC (rev 380732)
@@ -3,39 +3,27 @@
# Contributor: wenLiangcan <boxeed at gmail dot com>
pkgname=nuget
-pkgver=2.14
-pkgrel=2
+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://sources.archlinux.org/other/packages/${pkgname}/${pkgname}-${pkgver}.tar.gz
+source=("https://dist.nuget.org/win-x86-commandline/v${pkgver}/nuget.exe"
"${pkgname}"
- "${pkgname}.pc"
- "https://sources.archlinux.org/other/packages/${pkgname}/xdt.tar.gz")
+ "${pkgname}.pc")
install="${pkgname}.install"
-md5sums=('0834b8cea239fb098618f8d3ba09e214'
- 'dce06048fb6eb42beb69001adb2fd530'
- 'ffb7d95fb39f72c9619c72db91ec36a0'
- '61580e6d1e1ecf80f8f2caf4a43b7b71')
+md5sums=('385a118f61828f6a845c8dd981172e20'
+ '7c68f5691c98aeac031f36f3db93b1ac'
+ 'ffb7d95fb39f72c9619c72db91ec36a0')
+sha512sums=('22ea847d8017cd977664d0b13c889cfb13c89143212899a511be217345a4e243d4d8d4099700114a11d26a087e83eb1a3e2b03bdb5e0db48f10403184cd26619'
+ '36afaedb223c95014c3708df47cdedb87458c12f886043c68119f867a92449997b12338a6b17545e22397c3964e1991f5ecf0724517399f8101bfa09fa293b9f'
+ '50f77fdfc089afc516325057e2e4efdea353c09626073fb07457acf728268ac5e131e785d394b70c9db0ca6ae96e425d882cdf2b2b013c864dc91c32b85e508f')
-build() {
- xbuild /p:Configuration=Release xdt/XmlTransform/Microsoft.Web.XmlTransform.csproj
- cd ${srcdir}/${pkgname}-${pkgver}
- ./build.sh
-}
-
package() {
+ install -Dm 0644 ${srcdir}/nuget.pc ${pkgdir}/usr/lib/pkgconfig/nuget.pc
-mkdir -p ${pkgdir}/usr/lib/pkgconfig
-install -m 0644 ${srcdir}/nuget.pc ${pkgdir}/usr/lib/pkgconfig/nuget.pc
-
-install -d ${pkgdir}/usr/lib/nuget
-install -m 0644 ${srcdir}/${pkgname}-${pkgver}/src/CommandLine/obj/Mono\ Release/NuGet.exe ${pkgdir}/usr/lib/nuget/
-install -m 0644 ${srcdir}/${pkgname}-${pkgver}/src/Core/obj/Mono\ Release/NuGet.Core.dll ${pkgdir}/usr/lib/nuget/
-install -m 0644 ${srcdir}/xdt/XmlTransform/obj/Release/Microsoft.Web.XmlTransform.dll ${pkgdir}/usr/lib/nuget/
-
-install -d ${pkgdir}/usr/bin
-install -m 0755 ${srcdir}/nuget ${pkgdir}/usr/bin/nuget
+ install -Dm 0644 ${srcdir}/nuget.exe ${pkgdir}/usr/lib/nuget/nuget.exe
+ install -Dm 0755 ${srcdir}/nuget ${pkgdir}/usr/bin/nuget
}
Modified: nuget
===================================================================
--- nuget 2020-04-23 01:08:26 UTC (rev 380731)
+++ nuget 2020-04-23 01:46:04 UTC (rev 380732)
@@ -1,4 +1,2 @@
#!/bin/sh
-MONO_PATH=/usr/lib/nuget:$MONO_PATH
-export MONO_PATH
-exec mono $MONO_OPTIONS --runtime=v4.0 /usr/lib/nuget/NuGet.exe $*
+exec mono $MONO_OPTIONS /usr/lib/nuget/nuget.exe "\$@"
More information about the arch-commits
mailing list