Date: Wednesday, March 31, 2021 @ 22:02:44 Author: polyzen Revision: 910746
archrelease: copy trunk to community-any Added: youtube-dl/repos/community-any/PKGBUILD (from rev 910745, youtube-dl/trunk/PKGBUILD) Deleted: youtube-dl/repos/community-any/PKGBUILD ----------+ PKGBUILD | 84 ++++++++++++++++++++++++++++++------------------------------- 1 file changed, 42 insertions(+), 42 deletions(-) Deleted: PKGBUILD =================================================================== --- PKGBUILD 2021-03-31 22:02:36 UTC (rev 910745) +++ PKGBUILD 2021-03-31 22:02:44 UTC (rev 910746) @@ -1,42 +0,0 @@ -# Maintainer: Jaroslav Lichtblau <svetlemo...@archlinux.org> -# Maintainer: Daniel M. Capella <poly...@archlinux.org> -# Contributor: Eric Bélanger <e...@archlinux.org> - -pkgname=youtube-dl -pkgver=2021.03.31 -pkgrel=1 -pkgdesc="A command-line program to download videos from YouTube.com and a few more sites" -arch=('any') -url="https://ytdl-org.github.io/youtube-dl/" -license=('custom') -depends=('python') -makedepends=('python-setuptools') -optdepends=('ffmpeg: for video post-processing' - 'rtmpdump: for rtmp streams support' - 'atomicparsley: for embedding thumbnails into m4a files' - 'python-pycryptodome: for hlsnative downloader') -source=("https://github.com/ytdl-org/${pkgname}/releases/download/${pkgver}/${pkgname}-${pkgver}.tar.gz"{,.sig}) -sha256sums=('f215d0e297febca0552e309dba12d62c53a56ed138de314d63b7fb80617e6ceb' - 'SKIP') -validpgpkeys=('ED7F5BF46B3BBED81C87368E2C393E0F18A9236D') # Sergey M. <dst...@gmail.com> - -prepare() { - cd ${pkgname} - sed -i 's|etc/bash_completion.d|share/bash-completion/completions|' setup.py - sed -i 's|etc/fish/completions|share/fish/vendor_completions.d|' setup.py -} - -build() { - cd ${pkgname} - python setup.py build -} - -package() { - cd ${pkgname} - export PYTHONHASHSEED=0 - python setup.py install --root="${pkgdir}/" --optimize=1 --skip-build - mv "${pkgdir}/usr/share/bash-completion/completions/${pkgname}.bash-completion" \ - "${pkgdir}/usr/share/bash-completion/completions/${pkgname}" - install -Dm644 ${pkgname}.zsh "${pkgdir}/usr/share/zsh/site-functions/_${pkgname}" - install -Dm644 -t "${pkgdir}/usr/share/licenses/${pkgname}" LICENSE -} Copied: youtube-dl/repos/community-any/PKGBUILD (from rev 910745, youtube-dl/trunk/PKGBUILD) =================================================================== --- PKGBUILD (rev 0) +++ PKGBUILD 2021-03-31 22:02:44 UTC (rev 910746) @@ -0,0 +1,42 @@ +# Maintainer: Jaroslav Lichtblau <svetlemo...@archlinux.org> +# Maintainer: Daniel M. Capella <poly...@archlinux.org> +# Contributor: Eric Bélanger <e...@archlinux.org> + +pkgname=youtube-dl +pkgver=2021.04.01 +pkgrel=1 +pkgdesc="A command-line program to download videos from YouTube.com and a few more sites" +arch=('any') +url="https://ytdl-org.github.io/youtube-dl/" +license=('custom') +depends=('python') +makedepends=('python-setuptools') +optdepends=('ffmpeg: for video post-processing' + 'rtmpdump: for rtmp streams support' + 'atomicparsley: for embedding thumbnails into m4a files' + 'python-pycryptodome: for hlsnative downloader') +source=("https://github.com/ytdl-org/${pkgname}/releases/download/${pkgver}/${pkgname}-${pkgver}.tar.gz"{,.sig}) +sha256sums=('f098ef95933a33096f60cb8c3bfbde710f6f84c9cad1b093082584bdc4a089ef' + 'SKIP') +validpgpkeys=('ED7F5BF46B3BBED81C87368E2C393E0F18A9236D') # Sergey M. <dst...@gmail.com> + +prepare() { + cd ${pkgname} + sed -i 's|etc/bash_completion.d|share/bash-completion/completions|' setup.py + sed -i 's|etc/fish/completions|share/fish/vendor_completions.d|' setup.py +} + +build() { + cd ${pkgname} + python setup.py build +} + +package() { + cd ${pkgname} + export PYTHONHASHSEED=0 + python setup.py install --root="${pkgdir}/" --optimize=1 --skip-build + mv "${pkgdir}/usr/share/bash-completion/completions/${pkgname}.bash-completion" \ + "${pkgdir}/usr/share/bash-completion/completions/${pkgname}" + install -Dm644 ${pkgname}.zsh "${pkgdir}/usr/share/zsh/site-functions/_${pkgname}" + install -Dm644 -t "${pkgdir}/usr/share/licenses/${pkgname}" LICENSE +}