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"
29 'bash: for alsa-info.sh and alsabat-test.sh'
32 # we require /var/lib/alsa for state file
34 source=(https://www.alsa-project.org/files/pub/utils/$pkgname-$pkgver.tar.bz2{,.sig})
35 sha512sums=('f46e13fd57ed05ee38d3fa655e57b14335ecf0664dbe03275808383d87d28df153a81151e2e9d8786625f09929c567c89e145508a706a70eeb91ac1b11fb2fd4'
37 b2sums=('9d75f63c7ff8b0d7ee835a1ad8fc242dee9b59770b1ad0ff9cd233caf50ac844323fb2ebb8e649f03a0a30a161ec72cba472ac79e390c3f0eb6e2a184d8f576c'
39 validpgpkeys=('F04DF50737AC1A884C4B3D718380596DA6E59C91') # ALSA Release Team (Package Signing Key v1) <release@alsa-project.org>
47 local configure_options=(
51 --with-udev-rules-dir=/usr/lib/udev/rules.d
52 --with-systemdsystemunitdir=/usr/lib/systemd/system
56 ./configure "${configure_options[@]}"
61 make -k check -C $pkgname-$pkgver
66 alsa-lib libasound.so libatopology.so
67 ncurses libformw.so libmenuw.so libncursesw.so libpanelw.so
68 libsamplerate libsamplerate.so
71 make DESTDIR="$pkgdir" install -C $pkgname-$pkgver
72 install -vDm 644 $pkgname-$pkgver/README.md -t "$pkgdir/usr/share/doc/$pkgname/"
73 # dir where to save ALSA state
74 install -vdm 755 "$pkgdir/var/lib/alsa/"