aboutsummaryrefslogtreecommitdiffstats
path: root/main/mutagen/APKBUILD
blob: 1a82be256536f87f95bbce8659de65e49348d691 (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
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="python py-mutagen"
makedepends="python-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"
	python setup.py build 
}

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

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

md5sums="f4ae29dcdef8bc595b78440ec4d925c8  mutagen-1.34.tar.gz"
sha256sums="baf089121710c36ce317d9f107d552a3c7ec14dfcaa9618b809c4b25ef775619  mutagen-1.34.tar.gz"
sha512sums="3aaaf325b5c66a04a442b5cc615079362b21ab8461202376f0af12927c98e945efe7a15c6d457280af9dd510bdb8b8c951680e49dfab24abcd9fe88153b8f301  mutagen-1.34.tar.gz"