Date: Monday, September 14, 2020 @ 19:24:05 Author: polyzen Revision: 706383
archrelease: copy trunk to community-any Added: youtube-dl/repos/community-any/PKGBUILD (from rev 706382, youtube-dl/trunk/PKGBUILD) Deleted: youtube-dl/repos/community-any/PKGBUILD ----------+ PKGBUILD | 84 ++++++++++++++++++++++++++++++------------------------------- 1 file changed, 42 insertions(+), 42 deletions(-) Deleted: PKGBUILD =================================================================== --- PKGBUILD 2020-09-14 19:23:46 UTC (rev 706382) +++ PKGBUILD 2020-09-14 19:24:05 UTC (rev 706383) @@ -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=2020.09.06 -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://youtube-dl.org/downloads/${pkgver}/${pkgname}-${pkgver}.tar.gz"{,.sig}) -sha256sums=('ea8bc09d12504d98521bd1c74af27eae2c6fde7c1ce4e2c43d98ef952e8347a0' - 'SKIP') -validpgpkeys=('7D33D762FD6C35130481347FDB4B54CBA4826A18' # Philipp Hagemeister - 'ED7F5BF46B3BBED81C87368E2C393E0F18A9236D') # Sergey M. - -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/youtube-dl.bash-completion" \ - "${pkgdir}/usr/share/bash-completion/completions/youtube-dl" - install -Dm644 youtube-dl.zsh "${pkgdir}/usr/share/zsh/site-functions/_youtube-dl" - install -Dm644 LICENSE "${pkgdir}/usr/share/licenses/${pkgname}/LICENSE" -} Copied: youtube-dl/repos/community-any/PKGBUILD (from rev 706382, youtube-dl/trunk/PKGBUILD) =================================================================== --- PKGBUILD (rev 0) +++ PKGBUILD 2020-09-14 19:24:05 UTC (rev 706383) @@ -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=2020.09.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://youtube-dl.org/downloads/${pkgver}/${pkgname}-${pkgver}.tar.gz"{,.sig}) +sha256sums=('0657c19661bbec99117a2eb2b5a2d26d3f0b0a58703035f1ebf76bb5f2858ea3' + 'SKIP') +validpgpkeys=('7D33D762FD6C35130481347FDB4B54CBA4826A18' # Philipp Hagemeister + 'ED7F5BF46B3BBED81C87368E2C393E0F18A9236D') # Sergey M. + +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/youtube-dl.bash-completion" \ + "${pkgdir}/usr/share/bash-completion/completions/youtube-dl" + install -Dm644 youtube-dl.zsh "${pkgdir}/usr/share/zsh/site-functions/_youtube-dl" + install -Dm644 LICENSE "${pkgdir}/usr/share/licenses/${pkgname}/LICENSE" +}