summaryrefslogtreecommitdiff
path: root/extra/alsa-utils/PKGBUILD
diff options
context:
space:
mode:
Diffstat (limited to 'extra/alsa-utils/PKGBUILD')
-rw-r--r--extra/alsa-utils/PKGBUILD11
1 files changed, 9 insertions, 2 deletions
diff --git a/extra/alsa-utils/PKGBUILD b/extra/alsa-utils/PKGBUILD
index da828c0e1..e694728a1 100644
--- a/extra/alsa-utils/PKGBUILD
+++ b/extra/alsa-utils/PKGBUILD
@@ -1,10 +1,10 @@
-# $Id: PKGBUILD 186218 2013-05-22 06:35:50Z tpowa $
+# $Id: PKGBUILD 186452 2013-05-26 17:55:09Z tpowa $
# Maintainer: Tobias Powalowski <tpowa@archlinux.org>
# Contributor: judd <jvinet@zeroflux.org>
pkgname=alsa-utils
pkgver=1.0.27.1
-pkgrel=1
+pkgrel=2
pkgdesc="An alternative implementation of Linux sound support"
arch=('i686' 'x86_64')
url="http://www.alsa-project.org"
@@ -22,6 +22,9 @@ build() {
--with-udev-rules-dir=/usr/lib/udev/rules.d \
--with-systemdsystemunitdir=/usr/lib/systemd/system
make
+ # fix udev rules genaration
+ cd alsactl
+ make 90-alsa-restore.rules
}
package() {
@@ -29,6 +32,10 @@ package() {
make DESTDIR=${pkgdir} install
install -D -m755 ../90alsa ${pkgdir}/etc/pm/sleep.d/90alsa
+ # install alsa udev rule file
+ install -D -m644 alsactl/90-alsa-restore.rules \
+ ${pkgdir}/usr/lib/udev/rules.d/90-alsa-restore.rules
+
# dir where to save ALSA state
install -d ${pkgdir}/var/lib/alsa
}