blob: 95792a0171fb11ea7cc58437e290ac9b78b429f4 (
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
|
# Maintainer: willemw <willemw12@gmail.com>
# Contributor: Mark Foxwell <fastfret79@archlinux.org.uk>
# Contributor: AshtonBRSC <michael@ashtonbrsc.co.uk>
# Contributor: pluckypigeon <pluckypigeon@ArchForums.com>
# Contributor: canton7
pkgname=get_iplayer-git
pkgver=3.34.r0.g0cbb5bb
pkgrel=1
pkgdesc='Download TV and radio programmes from BBC iPlayer'
arch=(any)
url=https://github.com/get-iplayer/get_iplayer
license=(GPL3)
# perl-libwww is the LWP module
depends=(perl-json-pp perl-lwp-protocol-https perl-libwww perl-xml-libxml perl-mojolicious)
optdepends=('atomicparsley: metadata tagging for MP4 and M4A files'
'ffmpeg: convert DASH audio/video, MPEG-TS, FLV files to MP4 and M4A'
'perl-cgi: web PVR manager')
makedepends=(git)
provides=("${pkgname%-git}")
conflicts=("${pkgname%-git}")
source=("$pkgname::git+$url.git")
sha256sums=('SKIP')
pkgver() {
git -C $pkgname describe --long --tags --abbrev=7 | sed 's/^v//;s/\([^-]*-g\)/r\1/;s/-/./g'
}
package() {
install -Dm755 $pkgname/{get_iplayer,get_iplayer.cgi} -t "$pkgdir/usr/bin"
install -Dm644 $pkgname/README.md -t "$pkgdir/usr/share/doc/get_iplayer"
install -Dm644 $pkgname/get_iplayer.1 -t "$pkgdir/usr/share/man/man1"
}
|