Date: Sunday, March 8, 2020 @ 12:05:50 Author: jlichtblau Revision: 591914
archrelease: copy trunk to community-any Added: youtube-dl/repos/community-any/PKGBUILD (from rev 591913, youtube-dl/trunk/PKGBUILD) Deleted: youtube-dl/repos/community-any/PKGBUILD ----------+ PKGBUILD | 72 ++++++++++++++++++++++++++++++------------------------------- 1 file changed, 36 insertions(+), 36 deletions(-) Deleted: PKGBUILD =================================================================== --- PKGBUILD 2020-03-08 12:05:42 UTC (rev 591913) +++ PKGBUILD 2020-03-08 12:05:50 UTC (rev 591914) @@ -1,36 +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.03.06 -pkgrel=1 -pkgdesc="A small 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=('db6e7471d7ad6f0ec302453c2674c1782a0653d6ef64c24b085b66395f068199' - '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 -} - -package() { - cd ${pkgname} - python setup.py install --root="${pkgdir}/" --optimize=1 - 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 591913, youtube-dl/trunk/PKGBUILD) =================================================================== --- PKGBUILD (rev 0) +++ PKGBUILD 2020-03-08 12:05:50 UTC (rev 591914) @@ -0,0 +1,36 @@ +# 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.03.08 +pkgrel=1 +pkgdesc="A small 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=('76114c82015386eda24fe110e2c24a35f0551ce298b915e1c48c2acb495073f5' + '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 +} + +package() { + cd ${pkgname} + python setup.py install --root="${pkgdir}/" --optimize=1 + 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" +}