diff options
author | Max Liebkies | 2017-06-30 14:05:58 +0200 |
---|---|---|
committer | Max Liebkies | 2017-06-30 14:05:58 +0200 |
commit | 2552a0c0dff4e38023755dc1f53cb1d397da8714 (patch) | |
tree | ec87d4310f5fc2e0985fe8b395b90215a9f33773 | |
download | aur-2552a0c0dff4e38023755dc1f53cb1d397da8714.tar.gz |
Initial commit
-rw-r--r-- | .SRCINFO | 15 | ||||
-rw-r--r-- | .gitignore | 4 | ||||
-rw-r--r-- | PKGBUILD | 30 |
3 files changed, 49 insertions, 0 deletions
diff --git a/.SRCINFO b/.SRCINFO new file mode 100644 index 000000000000..9395728f65bd --- /dev/null +++ b/.SRCINFO @@ -0,0 +1,15 @@ +pkgbase = dotnet-sdk-2.0 + pkgdesc = A command line utility for building, testing, packaging and running .NET Core applications and libraries + pkgver = 2.0.0_preview2_006497 + pkgrel = 1 + url = https://www.microsoft.com/net/core + arch = x86_64 + license = MIT + depends = dotnet-runtime-2.0 + conflicts = dotnet-sdk + options = staticlibs + source = https://download.microsoft.com/download/F/A/A/FAAE9280-F410-458E-8819-279C5A68EDCF/dotnet-sdk-2.0.0-preview2-006497-linux-x64.tar.gz + sha256sums = f70b6dfc4e46230001ef863b54992b32bb04c998b098ad58dd47152f348a0997 + +pkgname = dotnet-sdk-2.0 + diff --git a/.gitignore b/.gitignore new file mode 100644 index 000000000000..6795f7d61f81 --- /dev/null +++ b/.gitignore @@ -0,0 +1,4 @@ +pkg/ +src/ +**.tar.gz +**.tar.xz diff --git a/PKGBUILD b/PKGBUILD new file mode 100644 index 000000000000..ca4c8ab94e1d --- /dev/null +++ b/PKGBUILD @@ -0,0 +1,30 @@ +# Maintainer: Max Liebkies <mail at maxliebkies dot de> + +pkgname=dotnet-sdk-2.0 +pkgver=2.0.0_preview2_006497 +pkgrel=1 +pkgdesc="A command line utility for building, testing, packaging and running .NET Core applications and libraries" +arch=(x86_64) +url="https://www.microsoft.com/net/core" +license=('MIT') +depends=('dotnet-runtime-2.0') +options=('staticlibs') + +conflicts=('dotnet-sdk') + +source=("https://download.microsoft.com/download/F/A/A/FAAE9280-F410-458E-8819-279C5A68EDCF/dotnet-sdk-2.0.0-preview2-006497-linux-x64.tar.gz") + +sha256sums=('f70b6dfc4e46230001ef863b54992b32bb04c998b098ad58dd47152f348a0997') + +package() { + mkdir -p "${pkgdir}/opt/dotnet/sdk/" + + cp --force --preserve=mode --recursive "${srcdir}/sdk/${pkgver//_/-}" "${pkgdir}/opt/dotnet/sdk/${pkgver//_/-}" + + chown -R root:root "${pkgdir}/opt/dotnet" + find "${pkgdir}/opt/dotnet" -name *.dll -exec chmod 644 {} \; + find "${pkgdir}/opt/dotnet" -name *.exe -exec chmod 755 {} \; + find "${pkgdir}/opt/dotnet" -name *.so -exec chmod 755 {} \; +} + +# vim:set ts=2 sw=2 et: |