Justin Berthault wrote in <mcmvt6gr7kfidsdsixmbvcwlfyf2f3uvdkhtg4x3xqoo2yxkqr@43q2hvnkmqkn>: |On Fri, Nov 17, 2023 at 08:23:58AM +0000, Stuart Henderson wrote: |> When a port has a maintainer, you should CC them, don't rely on |> them reading ports@. | |I included him in the first mail, forgot to cc after that. Sorry. | |Still learning the good way to do it.
I maintain that (unfortunately: python!) for a Linux and my recipe name=yt-dlp version=2023.11.16 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 } results in $ pkginfo -l yt-dlp usr/ usr/bin/ usr/bin/yt-dlp usr/share/ usr/share/man/ usr/share/man/man1/ usr/share/man/man1/yt-dlp.1.gz $ file /usr/bin/yt-dlp /usr/bin/yt-dlp: a /usr/bin/env python3 script executable (Zip archive) I find this approach that upstream thankfully provides much nicer than yours with the thousands of python files that noone but yt-dlp ever needs. --steffen | |Der Kragenbaer, The moon bear, |der holt sich munter he cheerfully and one by one |einen nach dem anderen runter wa.ks himself off |(By Robert Gernhardt)