blob: 40f1cc6b0522010ea0abe6b3730bf541ca31d674 (
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
|
# $Id: PKGBUILD 27121 2010-09-17 15:17:17Z schuay $
# 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=6
pkgdesc="A Python module for editing ID3v2 tags of MP3 audio files"
arch=('i686' 'x86_64' 'mips64el')
url="http://pyid3lib.sourceforge.net/"
license=('LGPL')
depends=('python2' 'glibc' 'id3lib')
source=(http://downloads.sourceforge.net/sourceforge/pyid3lib/$pkgname-$pkgver.tar.gz
pyid3lib-0.5.1-py25.patch)
md5sums=('5fd37a7dda7c540f665ca5d428a28f5e'
'377b797acfae7411c3a70c244d3cf9b6')
build() {
cd $srcdir/$pkgname-$pkgver
[ "${CARCH}" = "x86_64" ] && patch -p1 < ../pyid3lib-0.5.1-py25.patch
sed -i "s#strchr( str, '/' )#strchr( (char*)str, '/' )#" pyid3lib.cc
python2 setup.py install --root=$pkgdir
}
|