pkgname=alsa-ucm-conf
pkgver=1.2.14
pkgdesc="ALSA ucm configuration files"
homepage="https://alsa-project.org/wiki/Main_Page"
licenses=("BSD")
sources=("${pkgname}-${pkgver}.tar.bz2")
urls=("https://www.alsa-project.org/files/pub/lib/${sources[0]}")
sha512sums=("a224e890919306bdcd606dfb873b089950c9fa89f24c02947692ee8ab1a05c419f2a8dc174440d17c8a9575cab293806630f2cb43d74677f7ef0d956b7883dc5")

src_prepare() {
  tar -xf ${distdir}/${sources[0]} --strip-components=1
}

src_install() {
  install -vdm755 "${pkgdir}/usr/share/alsa/"
  cp -r ucm{,2} "${pkgdir}/usr/share/alsa/"
}

# vim:ft=sh syn=sh et sw=2:
