summarylogtreecommitdiffstats
path: root/PKGBUILD
blob: 8fbaa46d3b4953d1e00126a7ced1bf1d4b0672db (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
31
32
33
# Maintainer: Simon Tas <simon.tas.st@gmail.com>

pkgname="deemix-git"
_pkgname="deemix"
pkgver=r274.fd148d4
pkgrel=1
pkgdesc="a deezer downloader built from the ashes of Deezloader Remix."
arch=('any')
url="https://notabug.org/RemixDev/$_pkgname"
license=('gpl3')
depends=('python>=3.6' 'python-click' 'python-pycryptodomex' 'python-mutagen' 'python-requests'  'python-spotipy')
conflicts=('deemix')
makedepends=('git')
provides=('deemix')
source=("${_pkgname}::git+https://notabug.org/RemixDev/$_pkgname")
md5sums=('SKIP')

pkgver() {
	cd "${_pkgname}"
	printf "r%s.%s" "$(git rev-list --count HEAD)" "$(git rev-parse --short HEAD)"
}

build() {
	cd ${srcdir}/${_pkgname}
		python setup.py build
}

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