[arch-commits] Commit in dotnet-core/trunk (PKGBUILD)

Maxime Gauduin alucryd at archlinux.org
Tue Jun 12 11:17:13 UTC 2018


    Date: Tuesday, June 12, 2018 @ 11:17:12
  Author: alucryd
Revision: 342456

FS#58806: dotnet-core 2.1.0-3

Modified:
  dotnet-core/trunk/PKGBUILD

----------+
 PKGBUILD |   24 ++++++++++++++++++------
 1 file changed, 18 insertions(+), 6 deletions(-)

Modified: PKGBUILD
===================================================================
--- PKGBUILD	2018-06-12 11:10:29 UTC (rev 342455)
+++ PKGBUILD	2018-06-12 11:17:12 UTC (rev 342456)
@@ -1,17 +1,18 @@
 # $Id$
 # Maintainer: Maxime Gauduin <alucryd at archlinux.org>
 # Contributor: Max Liebkies <mail at maxliebkies.de>
+# Contributor: Florian Maunier <fmaunier at gmail.com>
 
 pkgbase=dotnet-core
-pkgname=('dotnet-host' 'dotnet-runtime')
+pkgname=('dotnet-host' 'dotnet-runtime' 'aspnet-runtime')
 pkgver=2.1.0
-pkgrel=1
+pkgrel=3
 arch=('x86_64')
 url='https://www.microsoft.com/net/core'
 license=('MIT')
 options=('staticlibs')
-source=('https://download.microsoft.com/download/9/1/7/917308D9-6C92-4DA5-B4B1-B4A19451E2D2/dotnet-runtime-2.1.0-linux-x64.tar.gz')
-sha256sums=('fee8973feb7f964a20be8ed7ff8e277d343b7a9ee032af2f4deb90913e58f638')
+source=('https://download.microsoft.com/download/9/1/7/917308D9-6C92-4DA5-B4B1-B4A19451E2D2/aspnetcore-runtime-2.1.0-linux-x64.tar.gz')
+sha256sums=('1f75c6d98cf729f74dfbeb5a36207567912e0e61e9bac0bf0f72046fa7a81d4b')
 
 package_dotnet-host() {
   pkgdesc='A generic driver for the .NET Core Command Line Interface'
@@ -29,9 +30,20 @@
   provides=('dotnet-runtime-2.1')
   conflicts=('dotnet-runtime-2.1')
 
-  install -dm 755 "${pkgdir}"/{opt/dotnet,usr/share/licenses}
-  cp -dr --no-preserve='ownership' shared "${pkgdir}"/opt/dotnet/
+  install -dm 755 "${pkgdir}"/{opt/dotnet/shared,usr/share/licenses}
+  cp -dr --no-preserve='ownership' shared/Microsoft.NETCore.App "${pkgdir}"/opt/dotnet/shared/
   ln -s dotnet-host "${pkgdir}"/usr/share/licenses/dotnet-runtime
 }
 
+package_aspnet-runtime() {
+  pkgdesc='The ASP.NET Core runtime'
+  depends=('dotnet-runtime')
+  provides=('aspnet-runtime-2.1')
+  conflicts=('aspnet-runtime-2.1')
+
+  install -dm 755 "${pkgdir}"/{opt/dotnet/shared,usr/share/licenses}
+  cp -dr --no-preserve='ownership' shared/Microsoft.AspNetCore.{All,App} "${pkgdir}"/opt/dotnet/shared/
+  ln -s dotnet-host "${pkgdir}"/usr/share/licenses/aspnet-runtime
+}
+
 # vim: ts=2 sw=2 et:



More information about the arch-commits mailing list