streamrip/PKGBUILD

51 lines
1.1 KiB
Bash
Raw Normal View History

2024-03-31 16:57:33 +02:00
# Maintainer: exu <aur _a_ frm01 _d_ net>
2024-02-04 12:14:57 +01:00
pkgname=streamrip
pkgver=2.0.5
2024-06-12 15:47:15 +02:00
pkgrel=2
2024-02-04 12:14:57 +01:00
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
2024-06-12 15:47:15 +02:00
python-tomlkit
python-requests)
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
}