blob: bb918fa9809a6db03d720fcc6bc7d5219eb8a616 (
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
|
# Maintainer: Natanael Copa <ncopa@alpinelinux.org>
pkgname=mutagen
pkgver=1.20
pkgrel=2
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="http://mutagen.googlecode.com/files/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="adb16d9f6056bc864a5c86c6f885af79 mutagen-1.20.tar.gz"
|