mirror of
https://gitdl.cn/https://github.com/chakralinux/core.git
synced 2025-02-10 12:34:37 +08:00
31 lines
723 B
Bash
31 lines
723 B
Bash
pkgname=libmusicbrainz
|
|
pkgver=5.1.0
|
|
pkgrel=2
|
|
pkgdesc="Library That Provides Access to the MusicBrainz Server "
|
|
url="http://musicbrainz.org/"
|
|
arch=('x86_64')
|
|
license=('LGPL2.1')
|
|
depends=('neon' 'libdiscid')
|
|
makedepends=('cmake')
|
|
provides=('libmusicbrainz2' 'libmusicbrainz3' 'libmusicbrainz5' 'musicbrainz')
|
|
conflicts=('musicbrainz')
|
|
source=("https://github.com/metabrainz/libmusicbrainz/releases/download/release-${pkgver}/libmusicbrainz-$pkgver.tar.gz")
|
|
md5sums=('4cc5556aa40ff7ab8f8cb83965535bc3')
|
|
|
|
prepare() {
|
|
mkdir build
|
|
}
|
|
|
|
build() {
|
|
cd build
|
|
cmake ../libmusicbrainz-${pkgver} \
|
|
-DCMAKE_INSTALL_PREFIX=/usr \
|
|
-DCMAKE_BUILD_TYPE=Release
|
|
make
|
|
}
|
|
|
|
package() {
|
|
cd build
|
|
make DESTDIR="$pkgdir" install
|
|
}
|