void-packages/srcpkgs/libmusicbrainz5/template

25 lines
807 B
Bash

# Template file for 'libmusicbrainz5'
pkgname=libmusicbrainz5
version=5.1.0
revision=2
build_style=cmake
wrksrc="libmusicbrainz-${version}"
hostmakedepends="pkg-config"
makedepends="neon-devel libxml2-devel"
short_desc="Library That Provides Access to the MusicBrainz Server (5.x)"
maintainer="Juan RP <xtraeme@voidlinux.eu>"
license="LGPL-2.1"
homepage="http://musicbrainz.org/"
distfiles="https://github.com/metabrainz/libmusicbrainz/releases/download/release-${version}/libmusicbrainz-${version}.tar.gz"
checksum=6749259e89bbb273f3f5ad7acdffb7c47a2cf8fcaeab4c4695484cef5f4c6b46
libmusicbrainz5-devel_package() {
depends="${makedepends} ${sourcepkg}>=${version}_${revision}"
short_desc+=" -- development files"
pkg_install() {
vmove usr/include
vmove usr/lib/pkgconfig
vmove "usr/lib/*.so"
}
}