mirror of
https://git.stillkill.net/Stillkill/GiteaPublish.git
synced 2026-10-22 05:32:18 +01:00
bruh
This commit is contained in:
1 parent
f9a9c0f2cf
commit
828b318280
1 file changed
+9
-3
@@ -5,7 +5,7 @@ pkgdesc=""
|
|||||||
arch=('x86_64')
|
arch=('x86_64')
|
||||||
url="https://git.stillkill.net/Stillkill/GiteaPublish"
|
url="https://git.stillkill.net/Stillkill/GiteaPublish"
|
||||||
license=('BEERWARE')
|
license=('BEERWARE')
|
||||||
depends=('dotnet-runtime')
|
depends=('')
|
||||||
makedepends=('dotnet-sdk' 'git')
|
makedepends=('dotnet-sdk' 'git')
|
||||||
source=("git+https://git.stillkill.net/Stillkill/GiteaPublish.git")
|
source=("git+https://git.stillkill.net/Stillkill/GiteaPublish.git")
|
||||||
sha256sums=('SKIP')
|
sha256sums=('SKIP')
|
||||||
@@ -15,9 +15,15 @@ cd "$srcdir/GiteaPublish"
|
|||||||
|
|
||||||
dotnet --version
|
dotnet --version
|
||||||
dotnet clean
|
dotnet clean
|
||||||
dotnet restore
|
dotnet publish -c Release -r linux-x64 --self-contained \
|
||||||
dotnet publish -c Release -r linux-x64 -o "$srcdir/output"
|
-p:PublishSingleFile=true \
|
||||||
|
-p:PublishReadyToRun=true \
|
||||||
|
-p:UseAppHost=true \
|
||||||
|
-p:DebugType=embedded \
|
||||||
|
-o "$srcdir/output"
|
||||||
ls -lar "$srcdir/output"
|
ls -lar "$srcdir/output"
|
||||||
|
chmod +x "$srcdir/output/GiteaPublish"
|
||||||
|
./$srcdir/output/GiteaPublish
|
||||||
}
|
}
|
||||||
|
|
||||||
package() {
|
package() {
|
||||||
|
|||||||
Reference in new issue
Block a user