diff options
author | bilibili_xiaok | 2022-07-27 19:31:16 +0800 |
---|---|---|
committer | bilibili_xiaok | 2022-07-27 19:31:16 +0800 |
commit | 7f10099de7fb8f3d90a4e0af29d07479469f9d09 (patch) | |
tree | e90cd5c540ff6a2412822513ae2a189826205013 | |
parent | ec885ca4b1851ee1a83a3ccc676d813bd61c5dc6 (diff) | |
download | aur-7f10099de7fb8f3d90a4e0af29d07479469f9d09.tar.gz |
Revert "优化PKGBUILD架构判断"
优化了个寂寞
This reverts commit ec885ca4b1851ee1a83a3ccc676d813bd61c5dc6.
-rw-r--r-- | PKGBUILD | 12 |
1 files changed, 5 insertions, 7 deletions
@@ -19,16 +19,14 @@ pkgver() { build() { cd "$srcdir/BBDown" - msg2 "build for x64" - dotnet publish BBDown -r linux-x64 -c Release -o artifact - strip artifact/BBDown -} -build_aarch64() { - cd "$srcdir/BBDown" + if [ "$CARCH" == "aarch64" ]; then msg2 "build for arm64" dotnet publish BBDown -r linux-arm64 -c Release -o artifact + else + msg2 "build for x64" + dotnet publish BBDown -r linux-x64 -c Release -o artifact + fi strip artifact/BBDown - } package() { |