PKGBUILDs/community/pyid3lib/PKGBUILD
2009-10-09 21:15:33 -05:00

21 lines
800 B
Bash

# $Id: PKGBUILD 82 2009-07-17 19:56:55Z aaron $
# Maintainer: Sergej Pupykin <pupykin.s+arch@gmail.com>
# Contributor: Hugo Ideler <hugoideler@dse.nl>
# Maintainer: Jens Persson <xerxes2 at gmail.com>
pkgname=pyid3lib
pkgver=0.5.1
pkgrel=4
pkgdesc="A Python module for editing ID3v2 tags of MP3 audio files"
arch=('i686' 'x86_64')
url="http://pyid3lib.sourceforge.net/"
license=('LGPL')
depends=('python' 'glibc' 'id3lib')
source=(http://downloads.sourceforge.net/sourceforge/pyid3lib/$pkgname-$pkgver.tar.gz pyid3lib-0.5.1-py25.patch)
md5sums=('5fd37a7dda7c540f665ca5d428a28f5e' '377b797acfae7411c3a70c244d3cf9b6')
build() {
cd $startdir/src/$pkgname-$pkgver
[ "${CARCH}" = "x86_64" ] && (patch -p1 < ../pyid3lib-0.5.1-py25.patch || return 1)
python setup.py install --root=$startdir/pkg
}