From 32d37fdf31e18ae983cd15c23dc6368e5925ead5 Mon Sep 17 00:00:00 2001 From: exu Date: Sun, 4 Feb 2024 12:14:57 +0100 Subject: [PATCH] Initial PKGBUILD --- .SRCINFO | 34 ++++++++++++++++++++++++++++++++++ .gitignore | 7 +++++++ PKGBUILD | 48 ++++++++++++++++++++++++++++++++++++++++++++++++ 3 files changed, 89 insertions(+) create mode 100644 .SRCINFO create mode 100644 .gitignore create mode 100644 PKGBUILD diff --git a/.SRCINFO b/.SRCINFO new file mode 100644 index 0000000..49b9c13 --- /dev/null +++ b/.SRCINFO @@ -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 diff --git a/.gitignore b/.gitignore new file mode 100644 index 0000000..229b96d --- /dev/null +++ b/.gitignore @@ -0,0 +1,7 @@ +# ignore everything +* + +# except these files +!.gitignore +!PKGBUILD +!.SRCINFO diff --git a/PKGBUILD b/PKGBUILD new file mode 100644 index 0000000..24d0599 --- /dev/null +++ b/PKGBUILD @@ -0,0 +1,48 @@ +# Maintainer: RealStickman + +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 +}