aboutsummaryrefslogtreecommitdiffstats
path: root/main/mutagen/APKBUILD
blob: 0e40106bb44a7c304f51cb1a9bf124c3b429330c (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
# Maintainer: Natanael Copa <ncopa@alpinelinux.org>
pkgname=mutagen
pkgver=1.34.1
pkgrel=0
pkgdesc="An audio metadata tag reader and writer implemented in pure python"
url="http://code.google.com/p/mutagen/"
arch="noarch"
license="GPL2"
depends="python2 py-mutagen"
makedepends="python2-dev"
subpackages="$pkgname-doc py-$pkgname:py"
source="https://bitbucket.org/lazka/mutagen/downloads/mutagen-$pkgver.tar.gz"

_builddir="$srcdir"/$pkgname-$pkgver

build() {
	cd "$_builddir"
	python2 setup.py build
}

package() {
	cd "$_builddir"
	python2 setup.py install --root="$pkgdir"
}

py() {
	pkgdesc="Python library for mutagen"
	depends="python2"
	mkdir -p "$subpkgdir"/usr/lib
	mv "$pkgdir"/usr/lib/python* "$subpkgdir"/usr/lib/
}

md5sums="5509f20ae750ebe44179174e3595981a  mutagen-1.34.1.tar.gz"
sha256sums="aacd667ef1f4fa7b7c201f36b2a6eda1ead3c92331017601d8082af62a7ee461  mutagen-1.34.1.tar.gz"
sha512sums="bd3e49b4b176611f673dfc8288def8f7f268077b231df7a4dab93d1cfb14ae4538f9c02c4157e074f3356d0883758d679893c8e4906a612bfb7c9593416cdb2a  mutagen-1.34.1.tar.gz"