blob: 1ad4eb7729cde8ebfc6157f14bda46881e71f845 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
|
# Maintainer: ccicnce113424 <ccicnce113424@gmail.com>
pkgname=llin-git
_pkgname=LLin
pkgver=2024.413.0.r0.eac1c70
pkgrel=2
pkgdesc="An in-game music player and download accelerator for osu! lazer."
arch=('x86_64')
url="https://github.com/MATRIX-feather/LLin"
license=('unknown')
depends=('osu-lazer' 'dotnet-runtime')
makedepends=('git' 'dotnet-sdk')
# conflicts=('osu-lazer-bin')
source=("git+https://github.com/MATRIX-feather/LLin.git")
sha256sums=('SKIP')
pkgver() {
cd "$srcdir/$_pkgname"
git describe --long --tags | sed 's/\([^-]*-\)g/r\1/;s/-/./g'
}
build() {
cd "$srcdir/$_pkgname"
DOTNET_CLI_TELEMETRY_OPTOUT="1" dotnet publish osu.Game.Rulesets.IGPlayer \
--framework net8.0 \
--configuration Release \
--use-current-runtime \
--no-self-contained \
--output output
}
package() {
install -d "$pkgdir/opt/osu-lazer/zh"
install -Dm644 "$srcdir/$_pkgname/output/zh/M.Resources.resources.dll" "$pkgdir/opt/osu-lazer/zh"
install -Dm644 "$srcdir/$_pkgname/output/M.DBus.dll" "$pkgdir/opt/osu-lazer"
install -Dm644 "$srcdir/$_pkgname/output/M.Resources.dll" "$pkgdir/opt/osu-lazer"
install -Dm644 "$srcdir/$_pkgname/output/NetCoreServer.dll" "$pkgdir/opt/osu-lazer"
install -Dm644 "$srcdir/$_pkgname/output/Tmds.DBus.dll" "$pkgdir/opt/osu-lazer"
install -Dm644 "$srcdir/$_pkgname/output/osu.Game.Rulesets.IGPlayer.dll" "$pkgdir/opt/osu-lazer"
}
|