summarylogtreecommitdiffstats
path: root/PKGBUILD
blob: 4e118985ffd1e55e29dc6206f44591f96c2ab2e6 (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
# Maintainer: Simon Tas <simon.tas.st@gmail.com>

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

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

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

package() {
	cd ${srcdir}/${_pkgname}

	python setup.py install --root="${pkgdir}" --optimize=1
}