# Contributor: Timo Teräs # Maintainer: Timo Teräs pkgname=youtube-dl pkgver=2013.11.03 pkgrel=0 pkgdesc="A small command-line program for downloading videos from YouTube.com" url="http://rg3.github.com/youtube-dl/" arch="noarch" license="Public Domain" depends="python>=2.5" makedepends="" install="" subpackages="" source="saveas-https://raw.github.com/rg3/$pkgname/$pkgver/youtube-dl/youtube-dl-$pkgver" _builddir= prepare() { local i cd "$_builddir" for i in $source; do case $i in *.patch) msg $i; patch -p1 -i "$srcdir"/$i || return 1;; esac done } build() { cd "$_builddir" } package() { cd "$srcdir" mkdir -p "$pkgdir"/usr/bin install -m 0555 youtube-dl-$pkgver "$pkgdir"/usr/bin/youtube-dl } md5sums="77194eb9ed8d397333c954748b99d309 youtube-dl-2013.11.03" sha256sums="4657b8c028c0d8411d9e00fc313e33d899177bbd374e45b06cf9f77e48da1a94 youtube-dl-2013.11.03" sha512sums="1ae83e35cc8d00b44b827a8fad8e59559451d0a8e8a900aaf716539c023978a2f92beacfb56e9bd6979cfbbaba0f0cf40875a04ebba75a0e83784445aa0c4f20 youtube-dl-2013.11.03"