summarylogtreecommitdiffstats
path: root/PKGBUILD
blob: 6c903b9dbf4efebeee4bfde24d60aee66a434353 (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
49
50
# Maintainer: exu <aur _a_ frm01 _d_ net>

pkgname=streamrip
pkgver=2.0.5
pkgrel=2
pkgdesc='A scriptable stream downloader for Qobuz, Tidal, Deezer and SoundCloud.'
arch=(any)
url='https://github.com/nathom/streamrip'
license=('GPL3')
depends=(python
         python-aiodns
         python-aiofiles
         python-aiohttp
         python-aiolimiter # AUR
         python-appdirs
         python-click-help-colors
         python-deezer-py # AUR
         python-m3u8 # AUR
         python-mutagen
         python-pathvalidate # AUR
         python-pillow
         python-pycryptodomex
         python-pytest-asyncio
         python-pytest-mock
         python-rich
         python-simple-term-menu
         python-tomlkit
         python-requests)
makedepends=(git
             python-build
             python-installer
             python-poetry)
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
}