Initial PKGBUILD

This commit is contained in:
exu 2024-02-04 12:14:57 +01:00
commit 32d37fdf31
3 changed files with 89 additions and 0 deletions

34
.SRCINFO Normal file
View File

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

7
.gitignore vendored Normal file
View File

@ -0,0 +1,7 @@
# ignore everything
*
# except these files
!.gitignore
!PKGBUILD
!.SRCINFO

48
PKGBUILD Normal file
View File

@ -0,0 +1,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
}