diff options
-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() { |