summaryrefslogtreecommitdiffstats
path: root/main/beets/APKBUILD
blob: 2c2dc83a3bcbb71b07914b3b6d99a90f193afa7a (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.10
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="11f687b68942ecb30bf9a5275aa893be  beets-1.3.10.tar.gz"
sha256sums="ba3dd640964ced1e9c2d02bbe17177b33eff46186872537473ddf59675b3f637  beets-1.3.10.tar.gz"
sha512sums="c189c84ba0f43f3085cd8b624ab2e4466bdc38871f029388d0f5b12e3addcaa650466e351c7509c899235e0ee633a2083a287d911d2a54a723d87f7b92d76480  beets-1.3.10.tar.gz"