aboutsummaryrefslogtreecommitdiffstats
path: root/community/beets/APKBUILD
blob: f5ed902383d832641f42b173966ec0b684ae2f9c (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
# Contributor: Ɓukasz Jendrysik <scadu@yandex.com>
# Contributor: Carlo Landmeter <clandmeter@gmail.com>
# Maintainer: Natanael Copa <ncopa@alpinelinux.org>
pkgname=beets
pkgver=1.4.9
pkgrel=3
pkgdesc="Music library manager and MusicBrainz tagger"
options="!check" # Requires unpackaged dependencies
url="https://beets.io"
arch="noarch"
license="MIT"
subpackages="$pkgname-doc"
makedepends="py3-sphinx"
depends="python3 py3-mutagen py3-unidecode py3-musicbrainzngs py3-munkres
	py3-setuptools py3-yaml py3-jellyfish py3-six"
source="https://github.com/sampsyo/$pkgname/releases/download/v$pkgver/$pkgname-$pkgver.tar.gz
	0001-Try-to-work-around-a-Werkzeug-change.patch"

build() {
	# sdist := source distribution tarball, builds man pages
	python3 setup.py build sdist
}

package() {
	python3 setup.py install --prefix=/usr --root="$pkgdir"

	local man
	for man in man/*.?; do
		install -Dm644 "$man" \
			"$pkgdir"/usr/share/man/man${man##*.}/${man##*/}
	done
}

sha512sums="616bad4ca3ecdd05d2f59846fd67215f476ce89cc34d63bc6351efcbaf1e33e5ca783cb8a716e8597b56a7e08e6a6dc15e64b51e89dd786bfb6c5d847f66de5a  beets-1.4.9.tar.gz
7f2669345ef89a4f2cd8688f9e3a11d208ebebf2f44e684bf29f1f1f5102d08bdd8707e6df46a311843a86c5aa074b769420f07af7460e69bcb2d149bde933a7  0001-Try-to-work-around-a-Werkzeug-change.patch"