# Template file for 'libebur128'
pkgname=libebur128
version=1.2.4
revision=1
build_style=cmake
short_desc="Implementation of the EBU R 128 standard for loudness normalisation"
maintainer="Frank Steinborn <steinex@nognu.de>"
license="MIT, BSD-4-Clause-UC"
homepage="https://github.com/jiixyj/libebur128"
distfiles="https://github.com/jiixyj/${pkgname}/archive/v${version}.tar.gz"
checksum=2ee41a3a5ae3891601ae975d5ec2642b997d276ef647cf5c5b363b6127f7add8

post_install() {
	vlicense COPYING
}

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