aboutsummaryrefslogtreecommitdiffstats
path: root/testing/beets/APKBUILD
blob: 170508aed410ba8657e6ace6add02e450a9f6824 (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
# Contributor: Carlo Landmeter <clandmeter@gmail.com>
# Maintainer:
pkgname=beets
pkgver=1.3.8
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="604384829d141967a0af446e27b46e62  beets-1.3.8.tar.gz"
sha256sums="102ab9067d230c6d30a8f2e1139df8ddd4cf37873fd19cf6f32991fd403da21b  beets-1.3.8.tar.gz"
sha512sums="aa17f7ba9111516cc115dbe1650bf771a123c45388ddd12fc51deeb5f96960c3497fd9eda92ce775f4394c5c7f775ecea3ed3dab4797d72a5c8e873d7462cdd2  beets-1.3.8.tar.gz"