summarylogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--.SRCINFO4
-rw-r--r--PKGBUILD5
2 files changed, 6 insertions, 3 deletions
diff --git a/.SRCINFO b/.SRCINFO
index 587b4a30f2a..ca3be3b7ad3 100644
--- a/.SRCINFO
+++ b/.SRCINFO
@@ -1,7 +1,7 @@
pkgbase = youtube-dlp-bin
pkgdesc = Fork of youtube-dlc - download videos from youtube.com or other video platforms
pkgver = 2021.04.22
- pkgrel = 1
+ pkgrel = 2
url = https://github.com/yt-dlp/yt-dlp
arch = any
license = Unlicense
@@ -12,6 +12,8 @@ pkgbase = youtube-dlp-bin
optdepends = aria2: for using aria2 as external downloader
optdepends = python-pycryptodome: for hlsnative downloader
provides = yt-dlp
+ provides = youtube-dlp
+ conflicts = youtube-dlp
source = yt-dlp-2021.04.22::https://github.com/yt-dlp/yt-dlp/releases/download/2021.04.22/yt-dlp
sha256sums = e00f7acdbb94b82e2c2cc78dfa7dfff7c783c23693d304a68db79672b0b8ea0e
diff --git a/PKGBUILD b/PKGBUILD
index abe65b31cd8..bed300c6ca1 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -7,7 +7,7 @@ pkgname=${_pkgname}-bin
_gitname=yt-dlp
pkgver=2021.04.22
_gitpkgver=$pkgver
-pkgrel=1
+pkgrel=2
pkgdesc="Fork of youtube-dlc - download videos from youtube.com or other video platforms"
arch=('any')
url="https://github.com/yt-dlp/${_gitname}"
@@ -19,7 +19,8 @@ optdepends=('ffmpeg: for video post-processing'
'aria2: for using aria2 as external downloader'
'python-pycryptodome: for hlsnative downloader')
source=("yt-dlp-${_gitpkgver}::${url}/releases/download/${_gitpkgver}/yt-dlp")
-provides=('yt-dlp')
+conflicts=("${_pkgname}")
+provides=('yt-dlp' "${_pkgname}")
sha256sums=('e00f7acdbb94b82e2c2cc78dfa7dfff7c783c23693d304a68db79672b0b8ea0e')
package() {