diff options
author | morguldir | 2018-11-22 15:49:29 +0100 |
---|---|---|
committer | morguldir | 2018-11-22 15:49:29 +0100 |
commit | e8413d6e33f786d90ee4ef48f09a0f02e7404aef (patch) | |
tree | 7c12ee1593e7b12e95c4a19ca57b9c06cdf88054 | |
parent | 76fa5c2c00ae01008c903ba4791933ded29ee6b9 (diff) | |
download | aur-e8413d6e33f786d90ee4ef48f09a0f02e7404aef.tar.gz |
Include libraries in package to avoid depending them being in ~/nuget
-rw-r--r-- | .SRCINFO | 2 | ||||
-rw-r--r-- | PKGBUILD | 14 |
2 files changed, 9 insertions, 7 deletions
@@ -1,7 +1,7 @@ pkgbase = osu-lazer pkgdesc = The new open source version of osu!, the free-to-win rhythm game pkgver = 2018.1120.0 - pkgrel = 1 + pkgrel = 2 url = https://osu.ppy.sh/ arch = x86_64 license = MIT @@ -5,7 +5,7 @@ pkgname=osu-lazer pkgver=2018.1120.0 -pkgrel=1 +pkgrel=2 pkgdesc="The new open source version of osu!, the free-to-win rhythm game" arch=('x86_64') license=('MIT' 'custom:CC-BY-NC 4.0') @@ -45,10 +45,12 @@ build() { cd "osu-$pkgver" - dotnet build \ - osu.Desktop \ - --framework netcoreapp2.1 \ - --configuration Release + dotnet publish osu.Desktop \ + --framework netcoreapp2.1 \ + --configuration Release \ + --runtime linux-x64 \ + --self-contained false \ + --output ./bin/Release/netcoreapp2.1/linux-x64 } package() @@ -71,7 +73,7 @@ package() install -m644 "$pkgname.png" "$pkgdir/usr/share/pixmaps/$pkgname.png" # Compiled binaries - cd "$srcdir/osu-$pkgver/osu.Desktop/bin/Release/netcoreapp2.1" + cd "$srcdir/osu-$pkgver/osu.Desktop/bin/Release/netcoreapp2.1/linux-x64" mkdir -p "$pkgdir/usr/lib/$pkgname" for binary in *.so *.dll *.json *.pdb; do install -m755 "$binary" "$pkgdir/usr/lib/$pkgname/$binary" |