mirror of
https://gitdl.cn/https://github.com/chakralinux/core.git
synced 2025-02-06 16:37:14 +08:00
34 lines
885 B
Bash
34 lines
885 B
Bash
#
|
|
# KDE SC Packages for Chakra, part of chakra-project.org
|
|
#
|
|
# maintainer (i686): Phil Miller <philm[at]chakra-project[dog]org>
|
|
# maintainer (x86_64): Manuel Tortosa <manutortosa[at]chakra-project[dot]org>
|
|
|
|
pkgname=musicbrainz
|
|
pkgver=2.1.5
|
|
pkgrel=4
|
|
pkgdesc="The second generation incarnation of the CD Index"
|
|
arch=('i686' 'x86_64')
|
|
url="http://www.musicbrainz.org/index.html"
|
|
license=('LGPL')
|
|
depends=('expat>=2.0')
|
|
makedepends=('python')
|
|
options=('!libtool')
|
|
source=(ftp://ftp.musicbrainz.org/pub/$pkgname/libmusicbrainz-${pkgver}.tar.gz
|
|
'gcc4.3.patch')
|
|
|
|
|
|
build() {
|
|
cd ${srcdir}/lib${pkgname}-${pkgver}
|
|
|
|
patch -p1 -i ${srcdir}/gcc4.3.patch
|
|
./configure --prefix=/usr
|
|
make || return 1
|
|
make DESTDIR=${pkgdir} install
|
|
|
|
cd python
|
|
python setup.py install --root=${pkgdir} || return 1
|
|
}
|
|
md5sums=('d5e19bb77edd6ea798ce206bd05ccc5f'
|
|
'9455555d03e3bd15d488ffdb2287ffa7')
|