Last active
September 6, 2019 13:16
-
-
Save rnbguy/04f91ddab980c2ae56e0e5af2d387179 to your computer and use it in GitHub Desktop.
PKGBUILD for dotnet-sdk
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# Maintainer: Ranadeep Biswas <[email protected]> | |
pkgname=dotnet-sdk | |
pkgver=2.2.401 | |
pkgrel=1 | |
pkgdesc='.NET Core is a cross-platform version of .NET for building websites, services, and console apps.' | |
arch=('x86_64') | |
url='https://dotnet.microsoft.com' | |
license=('MIT') | |
provides=('dotnet-sdk') | |
conflicts=('dotnet-sdk') | |
options=(staticlibs) | |
source=("$pkgname-$pkgver.tar.gz::https://download.visualstudio.microsoft.com/download/pr/228832ea-805f-45ab-8c88-fa36165701b9/16ce29a06031eeb09058dee94d6f5330/$pkgname-$pkgver-linux-x64.tar.gz") | |
sha512sums=('08E1FCAFA4F898C80FF5E88EEB40C7497B4F5651AF3B8EC85F65A3DAA2F1509A766D833477358D3FF83D179E014034AB0C48120847EF24736C8D1A5B67FEC10B') | |
package() { | |
install -Dm755 -t $pkgdir/opt/dotnet-sdk $srcdir/dotnet | |
cp -dr --no-preserve=ownership $srcdir/{host,shared,sdk} $pkgdir/opt/dotnet-sdk | |
install -Dm644 -t $pkgdir/usr/share/licenses/dotnet-sdk $srcdir/{LICENSE,ThirdPartyNotices}.txt | |
install -d $pkgdir/usr/bin | |
ln -s /opt/dotnet-sdk/dotnet $pkgdir/usr/bin/ | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment