1 # Maintainer: David Runge <dvzrv@archlinux.org>
2 # Contributor: Tobias Powalowski <tpowa@archlinux.org>
3 # Contributor: judd <jvinet@zeroflux.org>
8 pkgdesc="Advanced Linux Sound Architecture - Utilities"
10 url="https://www.alsa-project.org"
12 depends=(glibc pciutils psmisc)
13 makedepends=(alsa-lib docbook-xsl fftw libsamplerate ncurses python-docutils
15 optdepends=('fftw: for alsabat')
16 # we require /var/lib/alsa for state file
17 options=(debug emptydirs)
18 source=(https://www.alsa-project.org/files/pub/utils/$pkgname-$pkgver.tar.bz2{,.sig})
19 sha512sums=('882e6f67467596ed273bf554fcce87d8ef287806bbdabd6c103de4980981f9e2102fb3800c6e8628ee8e86ffb165c1c92f9370c8145f28a6cb7cca563942330b'
21 b2sums=('4b9676957e775be51076b4798dfd384db4eea440c682899024034d3dd593ba24f1d42b8d742c312e041a37f0dbbc12b16635d79f6e6633a3459cc21f80739b5e'
23 validpgpkeys=('F04DF50737AC1A884C4B3D718380596DA6E59C91') # ALSA Release Team (Package Signing Key v1) <release@alsa-project.org>
36 --with-udev-rules-dir=/usr/lib/udev/rules.d \
37 --with-systemdsystemunitdir=/usr/lib/systemd/system
42 make -k check -C $pkgname-$pkgver
46 depends+=(libasound.so libatopology.so libformw.so libmenuw.so libncursesw.so
47 libpanelw.so libsamplerate.so)
49 make DESTDIR="$pkgdir" install -C $pkgname-$pkgver
50 install -vDm 644 $pkgname-$pkgver/README.md -t "$pkgdir/usr/share/doc/$pkgname/"
51 # dir where to save ALSA state
52 install -vdm 755 "$pkgdir/var/lib/alsa/"