makedeb
Bilibili Downloader. 一款命令行式哔哩哔哩下载器.
Click here to go back to the commit logs for bbdown-bin.
Hash: 0b1b31a0fd751eb6433f2c0b54de3ff9d698c844
Message: minor edits
diff --git a/.SRCINFO b/.SRCINFO
index 51988fe..bc1be84 100644
--- a/.SRCINFO
+++ b/.SRCINFO
@@ -2,15 +2,16 @@ generated-by = makedeb
pkgname = bbdown-bin
pkgbase = bbdown-bin
pkgdesc = Bilibili Downloader. 一款命令行式哔哩哔哩下载器.
-pkgrel = 2
+pkgrel = 3
pkgver = 1.6.2
url = https://github.com/nilaoda/BBDown
arch = amd64
arch = aarch64
+conflicts = BBDown
depends = ffmpeg
license = MIT
provides = BBDown
-source_aarch64 = BBDown_1.6.2.zip::https://github.com/nilaoda/BBDown/releases/download/1.6.2/BBDown_1.6.2_20240512_linux-arm64.zip
-source_amd64 = BBDown_1.6.2.zip::https://github.com/nilaoda/BBDown/releases/download/1.6.2/BBDown_1.6.2_20240512_linux-x64.zip
+source_aarch64 = BBDown_1.6.2_linux-arm64.zip::https://github.com/nilaoda/BBDown/releases/download/1.6.2/BBDown_1.6.2_20240512_linux-arm64.zip
+source_amd64 = BBDown_1.6.2_linux-x64.zip::https://github.com/nilaoda/BBDown/releases/download/1.6.2/BBDown_1.6.2_20240512_linux-x64.zip
sha256sums_aarch64 = 3d3a1e105b8518e573f8817c1cecb6c4d18d2678c78f979e7224ea92892ef065
sha256sums_amd64 = 1a5e3889655e5ae6d1b4bac7c9c67d9a3ba7a95eb6d0a3f3553030ee5483bba9
diff --git a/PKGBUILD b/PKGBUILD
index 6e31564..83997bb 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -1,19 +1,19 @@
# Maintainer: Zhongmin Lin <zhongmin.lin3@gmail.com>
pkgname=bbdown-bin
pkgver=1.6.2
-pkgrel=2
+pkgrel=3
pkgdesc="Bilibili Downloader. 一款命令行式哔哩哔哩下载器."
arch=('amd64' 'aarch64')
url="https://github.com/nilaoda/BBDown"
license=('MIT')
-depends=(ffmpeg)
-provides=(BBDown)
-extensions=('zipman')
-source_amd64=("BBDown_${pkgver}.zip::https://github.com/nilaoda/BBDown/releases/download/${pkgver}/BBDown_${pkgver}_20240512_linux-x64.zip")
-source_aarch64=("BBDown_${pkgver}.zip::https://github.com/nilaoda/BBDown/releases/download/${pkgver}/BBDown_${pkgver}_20240512_linux-arm64.zip")
+depends=('ffmpeg')
+provides=('BBDown')
+conflicts=('BBDown')
+source_amd64=("BBDown_${pkgver}_linux-x64.zip::${url}/releases/download/${pkgver}/BBDown_${pkgver}_20240512_linux-x64.zip")
+source_aarch64=("BBDown_${pkgver}_linux-arm64.zip::${url}/releases/download/${pkgver}/BBDown_${pkgver}_20240512_linux-arm64.zip")
sha256sums_amd64=('1a5e3889655e5ae6d1b4bac7c9c67d9a3ba7a95eb6d0a3f3553030ee5483bba9')
sha256sums_aarch64=('3d3a1e105b8518e573f8817c1cecb6c4d18d2678c78f979e7224ea92892ef065')
package() {
- install -D BBDown "$pkgdir/usr/bin/BBDown"
+ install -Dm755 "BBDown" "${pkgdir}/usr/bin/BBDown"
}