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 | |
parent | 4b129935bb66c6f92203bb6cacb1d522f54be536 (diff) | |
download | aur-2f77f8d2a4aa13aef19461c0aac22882b096cb6f.tar.gz |
添加了不能用的aarch64架构支持
-rw-r--r-- | .SRCINFO | 4 | ||||
-rw-r--r-- | PKGBUILD | 7 |
2 files changed, 8 insertions, 3 deletions
@@ -1,10 +1,10 @@ pkgbase = bbdown-git pkgdesc = 一款命令行式哔哩哔哩下载器. Bilibili Downloader. - pkgver = 1 + pkgver = r323.8f07002 pkgrel = 1 url = https://github.com/nilaoda/BBDown arch = x86_64 - arch = arm64 + arch = aarch64 license = MIT makedepends = git makedepends = dotnet-sdk>=7 @@ -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() { |