summarylogtreecommitdiffstats
diff options
context:
space:
mode:
authorsumt2018-08-15 21:10:27 +0300
committersumt2018-08-15 21:10:34 +0300
commit7a62e3e2443f6c638398f906f926ae9bbca7371a (patch)
tree7f2569d01a8230f928f7fc05d96e5f89158e4c90
parent06bf300ef3ff5d441865e39e8beb4db9d28ef103 (diff)
downloadaur-7a62e3e2443f6c638398f906f926ae9bbca7371a.tar.gz
Fix deps
-rw-r--r--.SRCINFO11
-rw-r--r--PKGBUILD22
2 files changed, 9 insertions, 24 deletions
diff --git a/.SRCINFO b/.SRCINFO
index 4781caefa42..a7e14f70177 100644
--- a/.SRCINFO
+++ b/.SRCINFO
@@ -1,20 +1,11 @@
pkgbase = yle-dl
pkgdesc = Download video and audio from YLE Areena.
pkgver = 2.35
- pkgrel = 1
+ pkgrel = 2
url = http://aajanki.github.io/yle-dl/
arch = any
license = GPL3
- makedepends = python-setuptools
depends = ffmpeg
- depends = python-attrs
- depends = python-configargparse
- depends = python-future
- depends = python-lxml
- depends = python-mini-amf
- depends = python-pycryptodomex
- depends = python-pysocks
- depends = python-requests
depends = wget
optdepends = php: for downloading live TV and certain news broadcasts
optdepends = rtmpdump: for downloading Areena audio streams
diff --git a/PKGBUILD b/PKGBUILD
index 128055b7c5f..c521146add0 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -3,33 +3,27 @@
pkgname=yle-dl
pkgver=2.35
-pkgrel=1
+pkgrel=2
pkgdesc="Download video and audio from YLE Areena."
arch=('any')
url="http://aajanki.github.io/yle-dl/"
license=('GPL3')
-depends=('ffmpeg'
- 'python-attrs'
- 'python-configargparse'
- 'python-future'
- 'python-lxml'
- 'python-mini-amf'
- 'python-pycryptodomex'
- 'python-pysocks'
- 'python-requests'
- 'wget'
-)
+depends=('ffmpeg' 'wget')
optdepends=('php: for downloading live TV and certain news broadcasts'
'rtmpdump: for downloading Areena audio streams'
'youtube-dl: an alternative downloader backend to AdobeHDS.php')
-makedepends=('python-setuptools')
provides=(${pkgname}=$pkgver)
conflicts=(${pkgname})
source=("$pkgname-$pkgver.tar.gz::https://github.com/aajanki/yle-dl/archive/${pkgver}.tar.gz")
md5sums=('56a35002413d3fb8050e7ef94d693c5a')
+build() {
+ cd "$pkgname-$pkgver"
+ python setup.py build
+}
+
package() {
cd "$pkgname-$pkgver"
- python setup.py install --root="$pkgdir/" --optimize=1
+ python setup.py install --root="$pkgdir/" --optimize=1 --skip-build
}