aboutsummaryrefslogtreecommitdiffstats
path: root/testing/youtube-dl
diff options
context:
space:
mode:
authorTimo Teräs <timo.teras@iki.fi>2012-02-05 21:05:14 +0200
committerTimo Teräs <timo.teras@iki.fi>2012-02-05 21:05:14 +0200
commit989a2af97ff773552c46bc1133c105d293b78c63 (patch)
tree35b63e1a09a30ce5668a9c368a7b35174cb7916f /testing/youtube-dl
parent951d051d60fccbd7d4bf63550f2b903f261359f4 (diff)
downloadaports-989a2af97ff773552c46bc1133c105d293b78c63.tar.bz2
aports-989a2af97ff773552c46bc1133c105d293b78c63.tar.xz
testing/youtube-dl: new aport
a small command-line program for downloading videos from YouTube.com http://rg3.github.com/youtube-dl/
Diffstat (limited to 'testing/youtube-dl')
-rw-r--r--testing/youtube-dl/APKBUILD37
1 files changed, 37 insertions, 0 deletions
diff --git a/testing/youtube-dl/APKBUILD b/testing/youtube-dl/APKBUILD
new file mode 100644
index 0000000000..40e903ac7f
--- /dev/null
+++ b/testing/youtube-dl/APKBUILD
@@ -0,0 +1,37 @@
+# Contributor: Timo Teräs <timo.teras@iki.fi>
+# Maintainer: Timo Teräs <timo.teras@iki.fi>
+pkgname=youtube-dl
+pkgver=2012.01.08b
+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="wget"
+install=""
+subpackages=""
+source="https://raw.github.com/rg3/$pkgname/$pkgver/youtube-dl"
+
+_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 "$_builddir"
+ mkdir -p "$pkgdir"/usr/bin
+ install -m 0555 youtube-dl "$pkgdir"/usr/bin
+}
+
+md5sums="a445420376d975a21f0292df5ff6e5b9 youtube-dl"