# Contributor: Leonardo Arena # Maintainer: Natanael Copa pkgname=alsa-utils pkgver=1.2.9 pkgrel=2 pkgdesc="Advanced Linux Sound Architecture (ALSA) utilities" url="https://alsa-project.org/" arch="all" options="!check" # No test suite, applets use ncurses / don't have --version license="GPL-2.0-or-later" makedepends="alsa-lib-dev fftw-dev ncurses-dev pciutils-dev xmlto" depends="dialog alsa-ucm-conf" subpackages="$pkgname-dbg alsaconf::noarch $pkgname-doc $pkgname-openrc" source="https://alsa-project.org/files/pub/utils/alsa-utils-$pkgver.tar.bz2 alsaconf.patch alsa.initd alsa.confd " build() { ./configure \ --build=$CBUILD \ --host=$CHOST \ --prefix=/usr \ --disable-nls make } package() { make DESTDIR="$pkgdir" install install -D -m755 ../alsa.initd "$pkgdir"/etc/init.d/alsa install -D -m644 ../alsa.confd "$pkgdir"/etc/conf.d/alsa } alsaconf() { depends="alsa-utils bash" cd "$builddir" mkdir -p "$subpkgdir"/usr/sbin mv "$pkgdir"/usr/sbin/alsaconf \ "$subpkgdir"/usr/sbin } sha512sums=" f46e13fd57ed05ee38d3fa655e57b14335ecf0664dbe03275808383d87d28df153a81151e2e9d8786625f09929c567c89e145508a706a70eeb91ac1b11fb2fd4 alsa-utils-1.2.9.tar.bz2 f04155e1e391c7f36d44422c8e769bf9370117f6bbea6c0664e9858f7a676cc958e4260e4b4d226e71d0716f6be4e6fdd60f1d07cb7e9922fff378ceec01c47d alsaconf.patch c66959a4a1a24a727c9c91a455caa5fa093c523d17a563b56ec2449a02ff30c83683db555006954b1fe571446cf4a117cc41de8c8b869a6e875d386595b3cc1f alsa.initd d7e212e9f624b09168117b46c66289204a23915adf0d1b0c9ae258049430397b8f2d86d3b5f7e3087151948a031c4eab863e8195a6c7b1276704e9cba9c2d2a7 alsa.confd "