# Template build file for 'alsa-lib'.
pkgname=alsa-lib
version=1.1.6
revision=1
build_style=gnu-configure
hostmakedepends="pkg-config"
short_desc="The Advanced Linux Sound Architecture (ALSA) library"
maintainer="Juan RP <xtraeme@voidlinux.eu>"
license="LGPL-2.1-or-later"
homepage="http://www.alsa-project.org"
distfiles="ftp://ftp.alsa-project.org/pub/lib/${pkgname}-${version}.tar.bz2"
checksum=5f2cd274b272cae0d0d111e8a9e363f08783329157e8dd68b3de0c096de6d724

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