blob: 704943cbaca5a988214fc419b31e21649e87ddab (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
|
# Contributor: Timo Teräs <timo.teras@iki.fi>
# Maintainer: Timo Teräs <timo.teras@iki.fi>
pkgname=youtube-dl
pkgver=2014.09.12
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://yt-dl.org/downloads/$pkgver/youtube-dl/youtube-dl-$pkgver-r$pkgrel"
_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-r$pkgrel "$pkgdir"/usr/bin/youtube-dl
}
md5sums="a0730f0e08c271fcf1fd1fd9bef26432 youtube-dl-2014.09.12-r0"
sha256sums="e6000c28ce396ca858f996382605b41216c05115a9d6059c7ba2d25069aa2991 youtube-dl-2014.09.12-r0"
sha512sums="7401dee4004fc3af9a3b560290d9d3a5aa7613e75e1013fb1c3925bd906336895182077c17e4b6d387d55076c5469b79e075b3b030a1fade359fcbe0acc4f9bf youtube-dl-2014.09.12-r0"
|