mirror of
https://gitdl.cn/https://github.com/chakralinux/desktop.git
synced 2025-01-25 11:02:13 +08:00
32 lines
845 B
Bash
32 lines
845 B
Bash
#
|
|
# Platform 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=3.0.3
|
|
pkgrel=2
|
|
pkgdesc="Library That Provides Access to the MusicBrainz Server "
|
|
url="http://musicbrainz.org/"
|
|
arch=('i686' 'x86_64')
|
|
license=('LGPL2.1')
|
|
depends=('neon' 'libdiscid')
|
|
makedepends=('cmake')
|
|
source=(ftp://ftp.musicbrainz.org/pub/musicbrainz/libmusicbrainz-$pkgver.tar.gz)
|
|
md5sums=('f4824d0a75bdeeef1e45cc88de7bb58a')
|
|
build() {
|
|
cd ${srcdir}
|
|
mkdir build
|
|
cd build
|
|
cmake ../libmusicbrainz-${pkgver} \
|
|
-DCMAKE_INSTALL_PREFIX:PATH=/usr \
|
|
-DBUILD_SHARED_LIBS:BOOL=ON \
|
|
-DBUILD_STATIC_LIBS:BOOL=OFF
|
|
make
|
|
}
|
|
|
|
package() {
|
|
cd ${srcdir}/build
|
|
make DESTDIR=${pkgdir} install
|
|
} |