# $Id: PKGBUILD 45293 2009-07-09 02:09:24Z eric $ # Maintainer: Eric Belanger pkgname=mutagen pkgver=1.16 pkgrel=1 pkgdesc="An audio metadata tag reader and writer implemented in pure python" arch=('i686' 'x86_64') url="http://code.google.com/p/mutagen/" license=('GPL2') depends=('python>=2.6') source=(http://mutagen.googlecode.com/files/${pkgname}-${pkgver}.tar.gz) md5sums=('feea89bebee5816aed911f33a2171559') sha1sums=('01a84e48408cde18a7c755e0cd38eef7db866087') build() { cd "${srcdir}/${pkgname}-${pkgver}" python setup.py install --root="${pkgdir}" || return 1 install -d "${pkgdir}/usr/bin" || return 1 install -m755 tools/* "${pkgdir}/usr/bin" || return 1 }