diff options
author | replydev | 2023-02-14 19:41:26 +0100 |
---|---|---|
committer | replydev | 2023-02-14 19:41:26 +0100 |
commit | d4741aa26d992f2f347c2ca5cbd83574eb688e7a (patch) | |
tree | 9c4b78fa784e4df8eadb637c8fd9066c4eb4ea01 | |
parent | c7a2c80b504d624bf913894b098f6e61f542b1d4 (diff) | |
download | aur-d4741aa26d992f2f347c2ca5cbd83574eb688e7a.tar.gz |
Trim binary after compiling
-rw-r--r-- | .SRCINFO | 2 | ||||
-rw-r--r-- | PKGBUILD | 4 |
2 files changed, 3 insertions, 3 deletions
@@ -1,7 +1,7 @@ pkgbase = kryptor pkgdesc = A simple, modern, and secure encryption and signing tool that aims to be a better version of age and Minisign. pkgver = 4.0.1 - pkgrel = 1 + pkgrel = 2 url = https://www.kryptor.co.uk/ arch = x86_64 arch = aarch64 @@ -4,7 +4,7 @@ pkgname=kryptor pkgver=4.0.1 -pkgrel=1 +pkgrel=2 _srcpath="Kryptor-$pkgver/src" pkgdesc='A simple, modern, and secure encryption and signing tool that aims to be a better version of age and Minisign.' arch=('x86_64' 'aarch64') @@ -23,7 +23,7 @@ build() { if [ $CARCH = 'aarch64' ]; then build_arch=linux-arm64; else build_arch=linux-x64; fi echo "Build for $build_arch" - dotnet publish -c Release -r $build_arch --self-contained -p:PublishReadyToRun=true -p:PublishSingleFile=true + dotnet publish -c Release -r $build_arch -p:PublishSingleFile=true -p:PublishTrimmed=true -p:PublishReadyToRun=true -p:IncludeNativeLibrariesForSelfExtract=true --self-contained true } package() { |