aboutsummaryrefslogtreecommitdiffstats
path: root/community/beets/APKBUILD
blob: 20265f7db578ea4967c3d9ff076d4ed68c8d8b34 (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: Natanael Copa <ncopa@alpinelinux.org>
pkgname=beets
pkgver=1.3.15
pkgrel=1
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 py-jellyfish"
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="300255e61600c597df8712116bf14aba  beets-1.3.15.tar.gz"
sha256sums="ebb16c9d8864d65491cd73cb0c9661df18f12604f1a6c2c16d19096d87ef50c4  beets-1.3.15.tar.gz"
sha512sums="cb803338d4c7144f1619e1518a0936223feab5db12c94dd1b8ca0fe00d0f6cee2d00251e886e2be60fc1c4afbd8d9897bf1ffb60276911d7a6d2b64f0f056e81  beets-1.3.15.tar.gz"