summarylogtreecommitdiffstats
path: root/PKGBUILD
diff options
context:
space:
mode:
authorAlex Merry2015-06-14 19:04:09 +0100
committerAlex Merry2015-06-14 19:04:09 +0100
commit754714f436796bc7a62bcdceeadf9997e8f007b5 (patch)
tree0b9e40ac8e8deba6b30f91f2f8247c339ba7b0f7 /PKGBUILD
downloadaur-754714f436796bc7a62bcdceeadf9997e8f007b5.tar.gz
Import from AUR
Diffstat (limited to 'PKGBUILD')
-rw-r--r--PKGBUILD38
1 files changed, 38 insertions, 0 deletions
diff --git a/PKGBUILD b/PKGBUILD
new file mode 100644
index 00000000000..af6425c8137
--- /dev/null
+++ b/PKGBUILD
@@ -0,0 +1,38 @@
+# Maintainer: Alex Merry <dev@randomguy3.me.uk>
+
+pkgname=get_iplayer
+pkgver=2.94
+pkgrel=1
+pkgdesc="Allows you to download or stream any iPlayer programme from the BBC in H.264 (Quicktime/mp4) format, any radio programmes in MP3 or RealAudio format"
+arch=('any')
+url="http://www.infradead.org/get_iplayer/html/get_iplayer.html"
+license=('GPL3')
+depends=('perl-libwww' 'perl-html-parser' 'perl-www-mechanize' 'perl-http-cookies' 'perl-net-http')
+optdepends=(
+ 'rtmpdump: record high-quality flash-based content'
+ 'flvstreamer: download files that are in flash (flv) format'
+ 'ffmpeg: convert flash (flv) files'
+ 'atomicparsley: add tags to MP4 files'
+ 'id3v2: add basic tags to MP3 files (if perl-mp3-tag not installed)'
+ 'lame: re-encode Real files into MP3'
+ 'mplayer: download files that are in Real or WMA format'
+ 'perl-mp3-tag: add tags to MP3 files'
+ 'perl-xml-simple: Series and Brand pid parsing'
+ 'vlc: download files in that are n95 format')
+source=(ftp://ftp.infradead.org/pub/get_iplayer/${pkgname}-${pkgver}.tar.gz)
+md5sums=('180883975710fa3548f1e3359e21d5e2')
+
+package() {
+ cd "$srcdir/$pkgname-$pkgver"
+ install -m755 -D get_iplayer $pkgdir/usr/bin/get_iplayer
+ install -m755 -D get_iplayer.cgi $pkgdir/usr/bin/get_iplayer.cgi
+
+ install -m644 -D README.md $pkgdir/usr/share/doc/get_iplayer/README.md
+
+ install -D -m644 get_iplayer.1 ${pkgdir}/usr/share/man/man1/get_iplayer.1
+
+ install -m755 -d $pkgdir/usr/share/get_iplayer/plugins
+ install -m644 plugins/*.plugin plugins/plugin.template $pkgdir/usr/share/get_iplayer/plugins/
+}
+
+# vim:set ts=4 sw=4 et: