# Template file for 'libtaginfo'
pkgname=libtaginfo
version=0.1.3
revision=2
build_style=gnu-configure
hostmakedepends="pkg-config"
makedepends="taglib-devel"
short_desc="Library for reading media metadata"
maintainer="Juan RP <xtraeme@gmail.com>"
license="GPL-2"
homepage="https://bitbucket.org/shuerhaaken/libtaginfo"
distfiles="https://bitbucket.org/shuerhaaken/libtaginfo/downloads/${pkgname}-${version}.tar.gz"
checksum=33c42653c5302d0fb35c0b79dcd201263803b7d0750814cee9419e6eb8bc7d13
long_desc="
 TagInfo is a convenience wrapper for taglib with C and vala bindings.

 Features are reading/writing fields like: Artist, Album, Title, Genre,
 AlbumArtist, Comments, Disk number, Compilation flag, User labels, Embedded
 Images, Lyrics, Audio properties (length, bitrate, samplerate, channels ...),
 and much more."

libtaginfo-devel_package() {
	depends="taglib-devel ${sourcepkg}>=${version}"
	short_desc="${hort_desc} -- development files"
	pkg_install() {
		vmove usr/include
		vmove usr/lib/pkgconfig
		vmove usr/lib/libtaginfo
		vmove usr/share
	}
}

libtaginfo_package() {
	pkg_install() {
		vmove usr
	}
}
