Guest User

Archlinux AUR dotnet-core-rc 2.2.4

a guest
Apr 19th, 2019
169
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. pkgbase=dotnet-core-rc
  2. pkgname=('dotnet-host-rc' 'dotnet-runtime-rc')
  3. pkgver=2.2.4
  4. pkgrel=1
  5. arch=('x86_64' 'armv7h')
  6. url='https://www.microsoft.com/net/core'
  7. license=('MIT')
  8. depends=('gcc-libs' 'glibc')
  9. options=('staticlibs')
  10. source_x86_64=('https://download.visualstudio.microsoft.com/download/pr/853048a3-764a-4b4d-a608-c6144a84f257/99c5cb1ea145f9dc3c2bbd093c682c9b/dotnet-runtime-2.2.4-linux-x64.tar.gz')
  11. source_armv7h=('https://download.visualstudio.microsoft.com/download/pr/8c52648c-bedd-44b0-9442-95cd830fdada/d6ba4c50a6b2afddc4ae3d313349f3ac/dotnet-runtime-2.2.4-linux-arm.tar.gz')
  12. sha256sums_x86_64=('14b9dfad2899054b55a533adb213a88c19977c34d1b40d7d5095d05ba72eb3e3c229f2a6ec5bb5605133bcaef0b4a68416a90a9c6d572dce1e2c423abda2272b')
  13. sha256sums_armv7h=('b9d846ea5881c818850413f42a3b28caad176e9e337ec2097986988a4fc45edfc98d0db266316812d046a92b40888b14c39d872ca165e01de3a06c5899cadc7b')
  14.  
  15. package_dotnet-host-rc() {
  16. pkgdesc='A generic driver for the .NET Core Command Line Interface'
  17. provides=('dotnet-host')
  18. conflicts=('dotnet-host')
  19.  
  20. install -dm 755 "${pkgdir}"/{opt/dotnet,usr/bin,usr/share/licenses/dotnet-host}
  21. cp -dr --no-preserve='ownership' dotnet host "${pkgdir}"/opt/dotnet/
  22. install -m 644 *.txt -t "${pkgdir}"/usr/share/licenses/dotnet-host/
  23. ln -s /opt/dotnet/dotnet "${pkgdir}"/usr/bin/
  24. }
  25.  
  26. package_dotnet-runtime-rc() {
  27. pkgdesc='The .NET Core runtime'
  28. depends+=('dotnet-host-rc' 'icu' 'krb5' 'libunwind' 'lldb' 'lttng-ust' 'openssl-1.0' 'zlib'
  29. 'libcurl.so' 'libuuid.so')
  30. provides=('dotnet-runtime-2.0' 'dotnet-runtime')
  31. conflicts=('dotnet-runtime-2.0' 'dotnet-runtime')
  32.  
  33. install -dm 755 "${pkgdir}"/{opt/dotnet,usr/share/licenses}
  34. cp -dr --no-preserve='ownership' shared "${pkgdir}"/opt/dotnet/
  35. ln -s dotnet-host "${pkgdir}"/usr/share/licenses/dotnet-runtime
  36. }
RAW Paste Data