Date: Thursday, April 18, 2013 @ 22:30:08 Author: eric Revision: 88503
archrelease: copy trunk to community-any Added: youtube-dl/repos/community-any/PKGBUILD (from rev 88502, youtube-dl/trunk/PKGBUILD) Deleted: youtube-dl/repos/community-any/PKGBUILD ----------+ PKGBUILD | 56 ++++++++++++++++++++++++++++---------------------------- 1 file changed, 28 insertions(+), 28 deletions(-) Deleted: PKGBUILD =================================================================== --- PKGBUILD 2013-04-18 20:29:41 UTC (rev 88502) +++ PKGBUILD 2013-04-18 20:30:08 UTC (rev 88503) @@ -1,28 +0,0 @@ -# $Id$ -# Maintainer: Eric Bélanger <e...@archlinux.org> - -pkgname=youtube-dl -pkgver=2013.04.11 -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') -makedepends=('python-distribute') -source=(http://youtube-dl.org/downloads/${pkgver}/${pkgname}-${pkgver}.tar.gz{,.sig}) -sha1sums=('6c5119cf3a80ab0dbba63ea63ab6a9dba8b5e3a2' - '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 88502, youtube-dl/trunk/PKGBUILD) =================================================================== --- PKGBUILD (rev 0) +++ PKGBUILD 2013-04-18 20:30:08 UTC (rev 88503) @@ -0,0 +1,28 @@ +# $Id$ +# Maintainer: Eric Bélanger <e...@archlinux.org> + +pkgname=youtube-dl +pkgver=2013.04.18 +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') +makedepends=('python-distribute') +source=(http://youtube-dl.org/downloads/${pkgver}/${pkgname}-${pkgver}.tar.gz{,.sig}) +sha1sums=('e1388be0c10541c951ec65a21d4ba2ad18cd2b2d' + '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" +}