description='A youtube-dl fork with additional features and fixes.'
url='https://github.com/yt-dlp/yt-dlp'

license="Unlicense"

packager="tnut <tnut@nutyx.org>"
contributors="DocWOPR,Spiky"

run=(python python-mutagen ffmpeg)

name=yt-dlp
version=2023.12.30
release=2

PKGMK_KEEP_SOURCES="no"
source=(https://github.com/$name/$name/archive/refs/tags/$version.tar.gz)

build() {
 cd $name-$version
 python setup.py install --root=$PKG --optimize=1

 install -Dm644 LICENSE $PKG/usr/share/licenses/$name/LICENSE
}
