summarylogtreecommitdiffstats
path: root/PKGBUILD
blob: f54e7812acc8186a1893c41b3b223465a9d9218d (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
# Maintainer: sumt <sumt at sci dot fi>
# Contributor: Jesse Jaara <gmail.com: jesse.jaara>

pkgname=yle-dl
pkgver=2.31
pkgrel=2
pkgdesc="Download video and audio from YLE Areena."
arch=('any')
url="http://aajanki.github.io/yle-dl/"
license=('GPL3')
depends=('ffmpeg' 'python-crypto' 'python-future' 'python-lxml'
         'python-pyamf' 'python-pysocks' 'python-requests' 'youtube-dl' 'wget')
optdepends=('php-mcrypt: for AdobeHDS.php based downloader backend'
            'rtmpdump: for downloading Areena audio streams')
makedepends=('python-setuptools')
provides=(${pkgname}=$pkgver)
conflicts=(${pkgname})
source=("$pkgname-$pkgver.tar.gz::https://github.com/aajanki/yle-dl/archive/${pkgver}.tar.gz")
md5sums=('515e424f0be8125a937ea0bc8da11727')

package() {
  cd "$pkgname-$pkgver"
  python setup.py install --root="$pkgdir/" --optimize=1
}