mirror of
https://github.com/zoriya/Kyoo.git
synced 2025-07-09 03:04:20 -04:00
Finishing the AUR installer (only need to strip debug informations)
This commit is contained in:
parent
7d18c0dd84
commit
a8afe1c7cb
@ -45,7 +45,7 @@
|
||||
<PackageReference Include="Microsoft.EntityFrameworkCore.Proxies" Version="3.1.3" />
|
||||
<PackageReference Include="Microsoft.EntityFrameworkCore.Relational" Version="3.1.3" />
|
||||
<PackageReference Include="Newtonsoft.Json" Version="12.0.3" />
|
||||
<ProjectReference Include="..\Kyoo.CommonAPI\Kyoo.CommonAPI.csproj" />
|
||||
<ProjectReference Include="../Kyoo.CommonAPI/Kyoo.CommonAPI.csproj" />
|
||||
</ItemGroup>
|
||||
|
||||
<ItemGroup>
|
||||
@ -53,7 +53,7 @@
|
||||
<None Include="$(SpaRoot)**" Exclude="$(SpaRoot)node_modules\**" />
|
||||
<StaticFiles Include="$(SpaRoot)static/**" />
|
||||
<LoginFiles Include="$(LoginRoot)**" />
|
||||
<StaticFiles Include="Views\Login\material-icons.css" />
|
||||
<StaticFiles Include="Views/Login/material-icons.css" />
|
||||
</ItemGroup>
|
||||
|
||||
<Target Name="PublishRunWebpack" AfterTargets="ComputeFilesToPublish">
|
||||
@ -104,6 +104,6 @@
|
||||
</None>
|
||||
</ItemGroup>
|
||||
<ItemGroup>
|
||||
<Folder Include="Models\DatabaseMigrations\Internal" />
|
||||
<Folder Include="Models/DatabaseMigrations/Internal" />
|
||||
</ItemGroup>
|
||||
</Project>
|
||||
|
@ -17,6 +17,7 @@ sha256sums=("SKIP" "SKIP" "SKIP")
|
||||
|
||||
|
||||
prepare() {
|
||||
# cd "Kyoo-$pkgver"
|
||||
cd "Kyoo"
|
||||
git submodule update --init --recursive
|
||||
}
|
||||
@ -25,14 +26,12 @@ build() {
|
||||
# cd "Kyoo-$pkgver"
|
||||
cd "Kyoo"
|
||||
export DOTNET_CLI_TELEMETRY_OPTOUT=1
|
||||
dotnet build -c Release Kyoo
|
||||
dotnet publish -c Release -o "$srcdir/output" Kyoo
|
||||
}
|
||||
|
||||
package() {
|
||||
# cd "Kyoo-$pkgver"
|
||||
cd "Kyoo"
|
||||
mkdir -p "$pkgdir/usr/lib/kyoo"
|
||||
dotnet publish -c Release -o "$pkgdir/usr/lib/kyoo" Kyoo
|
||||
mkdir -p "$pkgdir/usr/lib"
|
||||
cp -r --no-preserve ownership "$srcdir/output" "$pkgdir/usr/lib/kyoo"
|
||||
install -Dm 644 kyoo.service -t "$pkgdir/usr/lib/systemd/system/"
|
||||
install -Dm 644 kyoo.sysusers "$pkgdir/usr/lib/sysusers.d/kyoo.conf"
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user