summarylogtreecommitdiffstats
path: root/PKGBUILD
blob: d324eac3db3a86abc9442fe64bf9fa729853063c (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
# Maintainer: Vyacheslav Konovalov <vyachkonovalov@protonmail.com>

_commit=09331516c7e96099cb9bb15646a95cb5502c5dbd
pkgname=deemix
pkgver=1.4.2
pkgrel=1
pkgdesc='A barebone deezer downloader library'
arch=(any)
url='https://deemix.app/'
license=('GPL3')
depends=('python>=3.6' 'python-click' 'python-pycryptodomex' 'python-mutagen' 'python-spotipy'
         'python-eventlet')
makedepends=('python-setuptools')
source=("https://codeberg.org/RemixDev/deemix/archive/$_commit.tar.gz")
sha256sums=('4c2832b06457d1d480b19d189e6ff8b1f93d9dd17f7af35b6e03c014635b028c')

pkgver() {
  cd deemix
  sed -En 's/^__version__ = "([0-9\.]+)"$/\1/p' deemix/__init__.py | tr -d '\n'
}

build() {
  cd deemix
  python setup.py build
}

package() {
  cd deemix
  python setup.py install --root="$pkgdir" --optimize=1
}