summarylogtreecommitdiffstats
path: root/PKGBUILD
blob: f239941a461f827b8ac14b1990327d70b1d87894 (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=r266.6e01f38
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')
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
}