[arch-commits] Commit in alsa-utils/trunk (PKGBUILD)

Tobias Powalowski tpowa at nymeria.archlinux.org
Sun May 26 17:54:53 UTC 2013


    Date: Sunday, May 26, 2013 @ 19:54:52
  Author: tpowa
Revision: 186451

upgpkg: alsa-utils 1.0.27.1-2

fix missing alsa-restore.rules

Modified:
  alsa-utils/trunk/PKGBUILD

----------+
 PKGBUILD |    9 ++++++++-
 1 file changed, 8 insertions(+), 1 deletion(-)

Modified: PKGBUILD
===================================================================
--- PKGBUILD	2013-05-26 17:06:52 UTC (rev 186450)
+++ PKGBUILD	2013-05-26 17:54:52 UTC (rev 186451)
@@ -4,7 +4,7 @@
 
 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 @@
     --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 @@
   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
 }




More information about the arch-commits mailing list