void-packages/srcpkgs/alsa-utils/template
2020-02-25 08:15:48 +01:00

24 lines
872 B
Bash

# Template file for 'alsa-utils'
pkgname=alsa-utils
version=1.2.2
revision=1
build_style=gnu-configure
configure_args="--with-udev-rules-dir=/usr/lib/udev/rules.d --disable-alsaconf
--with-alsactl-lock-dir=/run/lock"
hostmakedepends="pkg-config xmlto"
makedepends="libsamplerate-devel ncurses-devel"
depends="alsa-lib"
make_dirs="/var/lib/alsa 0750 root root"
short_desc="Advanced Linux Sound Architecture (ALSA) utilities"
maintainer="Anthony Iliopoulos <ailiop@altatus.com>"
license="GPL-2.0-only"
homepage="http://www.alsa-project.org"
distfiles="https://www.alsa-project.org/files/pub/utils/${pkgname}-${version}.tar.bz2"
checksum=44807bd578c5f6df6e91a11b8d37e546424a5a1ea8d8e659ee359fe01730e4f3
post_install() {
# Install required udev rules file.
make -C alsactl 90-alsa-restore.rules
vinstall alsactl/90-alsa-restore.rules 644 usr/lib/udev/rules.d
vsv alsa
}