Date: Sunday, December 13, 2020 @ 19:29:00 Author: jlichtblau Revision: 774542
archrelease: copy trunk to community-any Added: youtube-dl/repos/community-any/PKGBUILD (from rev 774541, youtube-dl/trunk/PKGBUILD) Deleted: youtube-dl/repos/community-any/PKGBUILD ----------+ PKGBUILD | 82 ++++++++++++++++++++++++++++++------------------------------- 1 file changed, 41 insertions(+), 41 deletions(-) Deleted: PKGBUILD =================================================================== --- PKGBUILD 2020-12-13 19:28:50 UTC (rev 774541) +++ PKGBUILD 2020-12-13 19:29:00 UTC (rev 774542) @@ -1,41 +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=2020.12.12 -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' '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=('8e0de6f68c8ed9afc3c40b0c6a3e5310f8920dee6793edabc1a87fead1a16447' - '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} - export PYTHONHASHSEED=0 - python setup.py build -} - -package() { - cd ${pkgname} - 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 774541, youtube-dl/trunk/PKGBUILD) =================================================================== --- PKGBUILD (rev 0) +++ PKGBUILD 2020-12-13 19:29:00 UTC (rev 774542) @@ -0,0 +1,41 @@ +# Maintainer: Jaroslav Lichtblau <svetlemo...@archlinux.org> +# Maintainer: Daniel M. Capella <poly...@archlinux.org> +# Contributor: Eric Bélanger <e...@archlinux.org> + +pkgname=youtube-dl +pkgver=2020.12.14 +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' '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=('9681a5a515cb44ef23c28bd77f6d79d531fdbc7325bdf4bbb7966260b7b64273' + '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} + export PYTHONHASHSEED=0 + python setup.py build +} + +package() { + cd ${pkgname} + 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 +}