aboutsummaryrefslogtreecommitdiffstats
path: root/community/beets/APKBUILD
blob: 23e422f3d62ec4014dad2bbbc3e862b89987eeb5 (plain) (blame)
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.17
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 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="45a1cd597bc94d5053e883415bf8bb6c  beets-1.3.17.tar.gz"
sha256sums="cce43c64f68b54c023cf5dade0a509c32e1bbd890b2c68e3fcfa368dc2d5e779  beets-1.3.17.tar.gz"
sha512sums="4a98548b08def00ce9b6afefc289ae2ca71c9a884bbaf4603c440869b76f4d10b69a615c788b4a606afa6c35dcc1f95f146237f071b63cb4bfa3c4b0e1befc3a  beets-1.3.17.tar.gz"