# Template file for 'libdiscid'
pkgname=libdiscid
version=0.7.0
revision=1
build_style=gnu-configure
configure_args="--disable-static"
short_desc="Library for creating MusicBrainz DiscIDs"
maintainer="Orphaned <orphan@voidlinux.org>"
license="LGPL-2.1-or-later"
homepage="https://musicbrainz.org/doc/libdiscid"
changelog="https://raw.githubusercontent.com/metabrainz/libdiscid/master/ChangeLog"
distfiles="https://data.metabrainz.org/pub/musicbrainz/libdiscid/libdiscid-${version}.tar.gz"
checksum=c230ed462c5ed7d7403ceb6984c57c8d05de42386d796bcd893636c0b0ba222f

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