Date: Thursday, April 18, 2013 @ 00:59:23 Author: eric Revision: 88447
archrelease: copy trunk to community-any Added: youtube-dl/repos/community-any/PKGBUILD (from rev 88446, youtube-dl/trunk/PKGBUILD) Deleted: youtube-dl/repos/community-any/PKGBUILD ----------+ PKGBUILD | 52 ++++++++++++++++++++++++++++------------------------ 1 file changed, 28 insertions(+), 24 deletions(-) Deleted: PKGBUILD =================================================================== --- PKGBUILD 2013-04-17 22:59:04 UTC (rev 88446) +++ PKGBUILD 2013-04-17 22:59:23 UTC (rev 88447) @@ -1,24 +0,0 @@ -# $Id$ -# Maintainer: Eric Bélanger <e...@archlinux.org> - -pkgname=youtube-dl -pkgver=2013.04.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.com/youtube-dl/" -license=('custom') -depends=('python') -makedepends=('python-distribute') -source=(http://youtube-dl.org/downloads/${pkgver}/${pkgname}-${pkgver}.tar.gz{,.sig}) -sha1sums=('c338f77edce8a465900391829dab89ec5f63623b' - 'SKIP') - -package() { - cd "${srcdir}/${pkgname}" - sed -i 's|etc/bash_completion.d|share/bash-completion/completions|' setup.py - 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 88446, youtube-dl/trunk/PKGBUILD) =================================================================== --- PKGBUILD (rev 0) +++ PKGBUILD 2013-04-17 22:59:23 UTC (rev 88447) @@ -0,0 +1,28 @@ +# $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" +}