summarylogtreecommitdiffstats
diff options
context:
space:
mode:
authorreplydev2023-02-14 19:41:26 +0100
committerreplydev2023-02-14 19:41:26 +0100
commitd4741aa26d992f2f347c2ca5cbd83574eb688e7a (patch)
tree9c4b78fa784e4df8eadb637c8fd9066c4eb4ea01
parentc7a2c80b504d624bf913894b098f6e61f542b1d4 (diff)
downloadaur-d4741aa26d992f2f347c2ca5cbd83574eb688e7a.tar.gz
Trim binary after compiling
-rw-r--r--.SRCINFO2
-rw-r--r--PKGBUILD4
2 files changed, 3 insertions, 3 deletions
diff --git a/.SRCINFO b/.SRCINFO
index 18d0de6f54ff..d83cc81aa738 100644
--- a/.SRCINFO
+++ b/.SRCINFO
@@ -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
diff --git a/PKGBUILD b/PKGBUILD
index 7f32e3c81c3b..3c61be3df707 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -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() {