Date: Friday, September 2, 2016 @ 21:50:39 Author: arojas Revision: 188324
archrelease: copy trunk to community-any Added: youtube-dl/repos/community-any/PKGBUILD (from rev 188323, youtube-dl/trunk/PKGBUILD) Deleted: youtube-dl/repos/community-any/PKGBUILD ----------+ PKGBUILD | 72 ++++++++++++++++++++++++++++++------------------------------- 1 file changed, 36 insertions(+), 36 deletions(-) Deleted: PKGBUILD =================================================================== --- PKGBUILD 2016-09-02 21:50:18 UTC (rev 188323) +++ PKGBUILD 2016-09-02 21:50:39 UTC (rev 188324) @@ -1,36 +0,0 @@ -# $Id$ -# Maintainer: Eric Bélanger <e...@archlinux.org> - -pkgname=youtube-dl -pkgver=2016.08.01 -pkgrel=1 -pkgdesc="A small command-line program to download videos from YouTube.com and a few more sites" -arch=('any') -url="http://rg3.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') -source=(http://youtube-dl.org/downloads/${pkgver}/${pkgname}-${pkgver}.tar.gz - http://youtube-dl.org/downloads/${pkgver}/${pkgname}-${pkgver}.tar.gz.sig) -sha1sums=('5c04a5c8ffc424df388b4be11cffd3ac99826408' - 'SKIP') -validpgpkeys=('7D33D762FD6C35130481347FDB4B54CBA4826A18' # Philipp Hagemeister - '428DF5D63EF07494BB455AC0EBF01804BCF05F6B' # Filippo Valsorda - '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/completions|' 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 188323, youtube-dl/trunk/PKGBUILD) =================================================================== --- PKGBUILD (rev 0) +++ PKGBUILD 2016-09-02 21:50:39 UTC (rev 188324) @@ -0,0 +1,36 @@ +# $Id$ +# Maintainer: Eric Bélanger <e...@archlinux.org> + +pkgname=youtube-dl +pkgver=2016.09.03 +pkgrel=1 +pkgdesc="A small command-line program to download videos from YouTube.com and a few more sites" +arch=('any') +url="http://rg3.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') +source=(http://youtube-dl.org/downloads/${pkgver}/${pkgname}-${pkgver}.tar.gz + http://youtube-dl.org/downloads/${pkgver}/${pkgname}-${pkgver}.tar.gz.sig) +sha1sums=('728daad24513c285706af337a843718e6fa1a9d9' + 'SKIP') +validpgpkeys=('7D33D762FD6C35130481347FDB4B54CBA4826A18' # Philipp Hagemeister + '428DF5D63EF07494BB455AC0EBF01804BCF05F6B' # Filippo Valsorda + '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/completions|' 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" +}