summarylogtreecommitdiffstats
path: root/PKGBUILD
blob: d8f4afd09d03ba379ee724552e004c0d383da944 (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
51
52
# Maintainer: Thomas Ludwig <business at tludwig dot dev>

pkgname=streamrip-git
pkgver=2.1.0
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-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)
conflicts=("streamrip")
provides=("streamrip")
optdepends=('ffmpeg: Additional functionality')
source=(git+https://github.com/nathom/streamrip.git#branch=dev)
sha256sums=('SKIP')

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

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

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