blob: 5d7d4443fca2428419d8e012f7ac82243b714722 (
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.25
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="0a4595a6c0984c9c3fb8d89adfc563c8 youtube-dl-2014.09.25-r0"
sha256sums="ba56f5bfa630c4f0b2f003ae2c50b25f28681499a52b280a8bcaa17fae6967d3 youtube-dl-2014.09.25-r0"
sha512sums="ca783374c139b9f61754208daecf5e9d60133fb198543c38d4f9a3794016de3672e75edd26606d44705cd9ad6fe11dc0f8b3bea76bdeae84b1f1207eb69bb82c youtube-dl-2014.09.25-r0"
|