streamrip/PKGBUILD

50 lines
1.1 KiB
Bash
Raw Normal View History

2024-03-31 16:44:55 +02:00
# Maintainer: exu <mrc+aur _a_ frm01 _d_ net>
2024-02-04 12:14:57 +01:00
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-aiodns
python-aiofiles
python-aiohttp
python-aiolimiter # AUR
python-appdirs
python-click-help-colors
python-deezer-py # AUR
python-m3u8 # AUR
2024-02-04 12:14:57 +01:00
python-mutagen
python-pathvalidate # AUR
2024-02-04 12:14:57 +01:00
python-pillow
python-pycryptodomex
python-pytest-asyncio
python-pytest-mock
2024-02-04 12:14:57 +01:00
python-rich
python-simple-term-menu
python-tomlkit)
makedepends=(git
python-build
python-installer
python-poetry)
2024-02-04 12:14:57 +01:00
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
}