void-packages/srcpkgs/alsa-utils/template
maxice8 f1aec6a8c3 alsa-lib: update to 1.1.7.
* alsa-lib: update to 1.1.7.

* alsa-tools: update to 1.1.7.

* alsa-utils: update to 1.1.7.
2018-10-17 08:26:29 +02:00

24 lines
859 B
Bash

# Template file for 'alsa-utils'
pkgname=alsa-utils
version=1.1.7
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="The Advanced Linux Sound Architecture (ALSA) utilities"
maintainer="Juan RP <xtraeme@voidlinux.eu>"
homepage="http://www.alsa-project.org"
license="GPL-2.0-only"
distfiles="ftp://ftp.alsa-project.org/pub/utils/${pkgname}-${version}.tar.bz2"
checksum=1db27fb54ab7fdeb54b00d68b8a174808ffea198cfbd67e3c959482194e1540a
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
}