aboutsummaryrefslogtreecommitdiffstats
path: root/main/beets/APKBUILD
blob: 0f63336f30639aad37cf6b080e6b1c777de8cf8a (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
34
35
36
37
38
39
40
41
42
# Contributor: Łukasz Jendrysik <scadu@yandex.com>
# Contributor: Carlo Landmeter <clandmeter@gmail.com>
# Maintainer:
pkgname=beets
pkgver=1.3.14
pkgrel=0
pkgdesc="music library manager and MusicBrainz tagger"
url="http://beets.radbox.org/"
arch="noarch"
license="MIT"
depends="python py-mutagen py-unidecode py-musicbrainzngs py-munkres
	py-setuptools py-enum34 py-yaml"
depends_dev=""
makedepends="python-dev py-setuptools"
install=""
subpackages=""
source="https://github.com/sampsyo/beets/releases/download/v$pkgver/beets-$pkgver.tar.gz"

_builddir="$srcdir"/beets-$pkgver
prepare() {
	local i
	cd "$_builddir"
	for i in $source; do
		case $i in
		*.patch) msg $i; patch -p1 -i "$srcdir"/$i || return 1;;
		esac
	done
}

build() {
	cd "$_builddir"
	python setup.py build || return 1
}

package() {
	cd "$_builddir"
	python setup.py install --prefix=/usr --root="$pkgdir" || return 1
}

md5sums="34cf22a1d554b60ecda27c8296e25921  beets-1.3.14.tar.gz"
sha256sums="9edf3da761fdebabdff7adc5258e47416249481bb450acd403cb52e7487563c2  beets-1.3.14.tar.gz"
sha512sums="313eee98c0fe8bf36fdba972bf4b436eae8885162501cd396334b6c4d128d2f2d500c4612b17ce3a99674930123a7c9b4a511b6b7cb0e2b4c6aecc0463dd708b  beets-1.3.14.tar.gz"