# Description: CLI program to access YouTub and other data content
# URL: https://github.com/yt-dlp/yt-dlp
# Maintainer: Steffen Nurpmeso, steffen at sdaoden dot eu
# Depends on: python3-setuptools quickjs

name=yt-dlp
version=2026.08.19
release=1
source=(https://github.com/$name/$name/releases/download/$version/$name.tar.gz)
renames=($name-$version.tar.gz)

build() {
	cd $name #-$version

	install -D $name "$PKG"/usr/bin/$name
	install -D -m 0644 $name.1 "$PKG"/usr/share/man/man1/$name.1

	if prt-get isinst bash-completion > /dev/null 2>&1; then
		install -D completions/bash/yt-dlp "$PKG"/usr/share/bash-completion/completions/$name
	fi
}

# s-sht-mode
