Date: Tuesday, December 17, 2013 @ 20:19:57 Author: eric Revision: 102719
archrelease: copy trunk to community-any Added: youtube-dl/repos/community-any/PKGBUILD (from rev 102718, youtube-dl/trunk/PKGBUILD) Deleted: youtube-dl/repos/community-any/PKGBUILD ----------+ PKGBUILD | 58 +++++++++++++++++++++++++++++----------------------------- 1 file changed, 29 insertions(+), 29 deletions(-) Deleted: PKGBUILD =================================================================== --- PKGBUILD 2013-12-17 19:18:38 UTC (rev 102718) +++ PKGBUILD 2013-12-17 19:19:57 UTC (rev 102719) @@ -1,29 +0,0 @@ -# $Id$ -# Maintainer: Eric Bélanger <e...@archlinux.org> - -pkgname=youtube-dl -pkgver=2013.12.16.7 -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') -source=(http://youtube-dl.org/downloads/${pkgver}/${pkgname}-${pkgver}.tar.gz - http://youtube-dl.org/downloads/${pkgver}/${pkgname}-${pkgver}.tar.gz.sig) -sha1sums=('eb6ac0c71060ffff36c2c2530ae29a610c2354dc' - 'SKIP') - -prepare() { - cd ${pkgname} - sed -i 's|etc/bash_completion.d|share/bash-completion/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 102718, youtube-dl/trunk/PKGBUILD) =================================================================== --- PKGBUILD (rev 0) +++ PKGBUILD 2013-12-17 19:19:57 UTC (rev 102719) @@ -0,0 +1,29 @@ +# $Id$ +# Maintainer: Eric Bélanger <e...@archlinux.org> + +pkgname=youtube-dl +pkgver=2013.12.17.2 +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') +source=(http://youtube-dl.org/downloads/${pkgver}/${pkgname}-${pkgver}.tar.gz + http://youtube-dl.org/downloads/${pkgver}/${pkgname}-${pkgver}.tar.gz.sig) +sha1sums=('121e80e8e165931c3accceeca0b24ed001c0292e' + 'SKIP') + +prepare() { + cd ${pkgname} + sed -i 's|etc/bash_completion.d|share/bash-completion/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" +}