summarylogtreecommitdiffstats
path: root/PKGBUILD
diff options
context:
space:
mode:
authorFrederik “Freso” S. Olesen2021-05-05 14:09:23 +0200
committerFrederik “Freso” S. Olesen2021-05-05 14:09:23 +0200
commitde6cef374c1b91e3badd196ea15ae32ad5466c22 (patch)
tree709ad8cda61145e6f7d0bbc12259b224cb281b96 /PKGBUILD
parentfe4ecb38240b73fd29d19d9013b0cb964cbe8fee (diff)
downloadaur-de6cef374c1b91e3badd196ea15ae32ad5466c22.tar.gz
Fix $conflicts
The missing $conflicts meant that pacman thought the two packages could be installed alongside each other, which they clearly can’t, as they both provide the `yt-dlp` binary.
Diffstat (limited to 'PKGBUILD')
-rw-r--r--PKGBUILD5
1 files changed, 3 insertions, 2 deletions
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() {