summarylogtreecommitdiffstats
path: root/PKGBUILD
blob: 24d0599b8a611ff0c5396bb293bc0a274ad208c4 (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
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
# Maintainer: RealStickman <mrc+aur _a_ frm01 _d_ net>

pkgname=streamrip
pkgver=2.0.5
pkgrel=1
pkgdesc='A scriptable stream downloader for Qobuz, Tidal, Deezer and SoundCloud.'
arch=(any)
url='https://github.com/nathom/streamrip'
license=('GPL3')
depends=(python
         python-mutagen
         python-tomlkit
         python-pathvalidate
         python-simple-term-menu
         python-pillow
         python-deezer-py
         python-pycryptodomex
         python-appdirs
         python-m3u8
         python-aiofiles
         python-aiohttp
         python-aiodns
         python-aiolimiter
         python-pytest-mock
         python-pytest-asyncio
         python-rich
         python-click-help-colors)
makedepends=(python-poetry
             python-{build,installer}
             git)
optdepends=('ffmpeg: Additional functionality')
source=(git+https://github.com/nathom/streamrip.git#tag=v$pkgver)
sha256sums=('SKIP')

pkgver() {
    cd streamrip
    printf "${pkgver//-/.}"
}

build() {
    cd streamrip
    python -m build -wn
}

package() {
    cd streamrip
    python -m installer -d "$pkgdir" dist/*.whl
}