diff options
author | morguldir | 2021-10-09 02:17:36 +0200 |
---|---|---|
committer | morguldir | 2021-10-09 02:17:36 +0200 |
commit | d5189b7046adeb8a460261a3930ca8ac0b2fa34d (patch) | |
tree | bf3979a8b4c0023d626e5ee1bf61278b6d323618 | |
parent | ec7d1dbc6e638097a26c810df1700d7233b2497d (diff) | |
download | aur-d5189b7046adeb8a460261a3930ca8ac0b2fa34d.tar.gz |
Include localization files in package
-rw-r--r-- | .SRCINFO | 2 | ||||
-rw-r--r-- | PKGBUILD | 10 |
2 files changed, 5 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 = 2021.1006.1 - pkgrel = 1 + pkgrel = 2 url = https://osu.ppy.sh/ arch = x86_64 license = MIT @@ -5,7 +5,7 @@ pkgname=osu-lazer pkgver=2021.1006.1 -pkgrel=1 +pkgrel=2 dotnet_version=5.0 @@ -66,12 +66,10 @@ package() mkdir -p "$pkgdir/usr/share/pixmaps" install -m644 "$pkgname.png" "$pkgdir/usr/share/pixmaps/$pkgname.png" - # Compiled binaries - cd "$srcdir/osu-lazer/osu.Desktop/bin/Release/netcoreapp$dotnet_version/linux-x64" + # Compiled binaries, localization files, debug info and rulesets mkdir -p "$pkgdir/usr/lib/$pkgname" - for binary in *.so *.dll *.json *.pdb; do - install -m755 "$binary" "$pkgdir/usr/lib/$pkgname/$binary" - done + cd "$srcdir/osu-lazer/osu.Desktop/bin/Release/netcoreapp$dotnet_version/" + cp -r "linux-x64"/* "$pkgdir/usr/lib/$pkgname/" # osu-lazer licence cd "$srcdir/osu-lazer/" |