blob: 8ced1c12b96eccba2a6480334a1219cde79d9b84 (
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.10.05
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="552b4d1e2437fa40aee3dde5644fd28e youtube-dl-2014.10.05-r0"
sha256sums="4c9a6d10b49e8120ac59a03313ed04242b41578502e4429bf3beff66874ecaf8 youtube-dl-2014.10.05-r0"
sha512sums="bfae16e034bbcf16235876e0e1150eb8e07918588def032c9f8326794b0efb1861abf2b36d7242ea6ac848d3dec82edd7cd9de50fa76d6609151641499eb5c4c youtube-dl-2014.10.05-r0"
|