Date: Tuesday, April 28, 2015 @ 05:31:00 Author: eric Revision: 132364
archrelease: copy trunk to community-any Added: youtube-dl/repos/community-any/PKGBUILD (from rev 132363, youtube-dl/trunk/PKGBUILD) Deleted: youtube-dl/repos/community-any/PKGBUILD ----------+ PKGBUILD | 65 ++++++++++++++++++++++++++++++------------------------------- 1 file changed, 33 insertions(+), 32 deletions(-) Deleted: PKGBUILD =================================================================== --- PKGBUILD 2015-04-28 03:29:31 UTC (rev 132363) +++ PKGBUILD 2015-04-28 03:31:00 UTC (rev 132364) @@ -1,32 +0,0 @@ -# $Id$ -# Maintainer: Eric Bélanger <e...@archlinux.org> - -pkgname=youtube-dl -pkgver=2015.04.26 -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') -source=(http://youtube-dl.org/downloads/${pkgver}/${pkgname}-${pkgver}.tar.gz - http://youtube-dl.org/downloads/${pkgver}/${pkgname}-${pkgver}.tar.gz.sig) -sha1sums=('868f37b40727d6d533ddfaf9305f9bf1a05a7c21' - 'SKIP') -validpgpkeys=('7D33D762FD6C35130481347FDB4B54CBA4826A18') - -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 LICENSE "${pkgdir}/usr/share/licenses/${pkgname}/LICENSE" -} Copied: youtube-dl/repos/community-any/PKGBUILD (from rev 132363, youtube-dl/trunk/PKGBUILD) =================================================================== --- PKGBUILD (rev 0) +++ PKGBUILD 2015-04-28 03:31:00 UTC (rev 132364) @@ -0,0 +1,33 @@ +# $Id$ +# Maintainer: Eric Bélanger <e...@archlinux.org> + +pkgname=youtube-dl +pkgver=2015.04.26 +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') +source=(http://youtube-dl.org/downloads/${pkgver}/${pkgname}-${pkgver}.tar.gz + http://youtube-dl.org/downloads/${pkgver}/${pkgname}-${pkgver}.tar.gz.sig) +sha1sums=('868f37b40727d6d533ddfaf9305f9bf1a05a7c21' + 'SKIP') +validpgpkeys=('7D33D762FD6C35130481347FDB4B54CBA4826A18') + +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" +}