# Template file for 'libmusicbrainz5'
pkgname=libmusicbrainz5
version=5.0.1
revision=3
build_style=cmake
wrksrc="libmusicbrainz-${version}"
hostmakedepends="cmake pkg-config"
makedepends="neon-devel"
short_desc="Library That Provides Access to the MusicBrainz Server (5.x)"
maintainer="Juan RP <xtraeme@gmail.com>"
license="LGPL-2.1"
homepage="http://musicbrainz.org/"
distfiles="https://github.com/downloads/metabrainz/libmusicbrainz/libmusicbrainz-${version}.tar.gz"
checksum=1ca75e1c5059a3620b0d82633b1f468acc2a65fcc4305f844ec44f6fb5db82d5

libmusicbrainz5-devel_package() {
	depends="neon-devel ${sourcepkg}>=${version}_${revision}"
	short_desc+=" -- development files"
	pkg_install() {
		vmove usr/include
		vmove usr/lib/pkgconfig
		vmove "usr/lib/*.so"
	}
}
