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