# Description: CLI program to access YouTub and other data content # URL: https://github.com/yt-dlp/yt-dlp # Maintainer: Aaron Ball, nullspoon at oper dot io # Depends on: python3-setuptools name=yt-dlp version=2024.03.10 release=1 source=(https://github.com/${name}/${name}/releases/download/${version}/${name}.tar.gz) renames=(${name}-${version}.tar.gz) build() { cd ${name} 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 }