diff options
author | bilibili_xiaok | 2022-07-23 19:51:53 +0800 |
---|---|---|
committer | bilibili_xiaok | 2022-07-23 19:51:53 +0800 |
commit | 2f77f8d2a4aa13aef19461c0aac22882b096cb6f (patch) | |
tree | fb4d4d4d263887aa9414226eec43f5aefb5a7e65 /PKGBUILD | |
parent | 4b129935bb66c6f92203bb6cacb1d522f54be536 (diff) | |
download | aur-2f77f8d2a4aa13aef19461c0aac22882b096cb6f.tar.gz |
添加了不能用的aarch64架构支持
Diffstat (limited to 'PKGBUILD')
-rw-r--r-- | PKGBUILD | 7 |
1 files changed, 6 insertions, 1 deletions
@@ -2,7 +2,7 @@ pkgname=bbdown-git pkgver=r323.8f07002 pkgrel=1 pkgdesc="一款命令行式哔哩哔哩下载器. Bilibili Downloader." -arch=("x86_64" "arm64") +arch=("x86_64" "aarch64") url="https://github.com/nilaoda/BBDown" license=("MIT") depends=("zlib" "gcc-libs") @@ -20,7 +20,12 @@ pkgver() { build() { cd "$srcdir/BBDown" + if "$CARCH" = "aarch64" + then + dotnet publish BBDown -r linux-arm64 -c Release -o artifact + else dotnet publish BBDown -r linux-x64 -c Release -o artifact + fi } package() { |