[arch-commits] Commit in alsa-utils/trunk (PKGBUILD alsa.conf.d)
Andrea Scarpino
andrea at archlinux.org
Mon Nov 15 19:09:22 UTC 2010
Date: Monday, November 15, 2010 @ 14:09:21
Author: andrea
Revision: 99599
upgpkg: alsa-utils 1.0.23-3
Use /var/lib/alsa to store ALSA state (FS#18586)
Modified:
alsa-utils/trunk/PKGBUILD
alsa-utils/trunk/alsa.conf.d
-------------+
PKGBUILD | 27 ++++++++++++++++++---------
alsa.conf.d | 4 ++--
2 files changed, 20 insertions(+), 11 deletions(-)
Modified: PKGBUILD
===================================================================
--- PKGBUILD 2010-11-15 19:08:17 UTC (rev 99598)
+++ PKGBUILD 2010-11-15 19:09:21 UTC (rev 99599)
@@ -1,8 +1,10 @@
# $Id$
-# Maintainer: judd <jvinet at zeroflux.org>
+# Maintainer: Tobias Powalowski <tpowa at archlinux.org>
+# Contributor: judd <jvinet at zeroflux.org>
+
pkgname=alsa-utils
pkgver=1.0.23
-pkgrel=2
+pkgrel=3
pkgdesc="An alternative implementation of Linux sound support"
arch=('i686' 'x86_64')
url="http://www.alsa-project.org"
@@ -17,15 +19,22 @@
backup=(etc/conf.d/alsa)
build() {
- cd $startdir/src/$pkgname-${pkgver}
- patch -Np1 -i ../alsaconf.patch || return 1
+ cd ${srcdir}/${pkgname}-${pkgver}
+ patch -Np1 -i ../alsaconf.patch
./configure --prefix=/usr
- make || return 1
- make DESTDIR=$startdir/pkg install
- install -D -m755 ../alsa $startdir/pkg/etc/rc.d/alsa
- install -D -m644 ../alsa.conf.d $startdir/pkg/etc/conf.d/alsa
+ make
}
+
+package() {
+ cd ${srcdir}/${pkgname}-${pkgver}
+ make DESTDIR=${pkgdir} install
+ install -D -m755 ../alsa ${pkgdir}/etc/rc.d/alsa
+ install -D -m644 ../alsa.conf.d ${pkgdir}/etc/conf.d/alsa
+
+ # dir where to save ALSA state
+ install -d ${pkgdir}/var/lib/alsa
+}
md5sums=('cb0cf46029ac9549cf3a31bff6a4f4e1'
'3ef812cae83053d01cd560284efad71f'
'62ebef77d5617d0036012cc541dcf23c'
- '93089f0d8872078939f76dd2acaebc2b')
+ '4c8ae9f976c7df5e271a4cb91ccc7767')
Modified: alsa.conf.d
===================================================================
--- alsa.conf.d 2010-11-15 19:08:17 UTC (rev 99598)
+++ alsa.conf.d 2010-11-15 19:09:21 UTC (rev 99599)
@@ -1,6 +1,6 @@
# Arguments for alsactl
-# example: ALSA_ARGS="--file /var/run/alsa-state"
-ALSA_ARGS=""
+# example: ALSA_ARGS="--file /var/lib/alsa/asound.state"
+ALSA_ARGS="--file /var/lib/alsa/asound.state"
# Enables powersaving mode for AC97 and hda_intel audio chips.
# Set to 1 to enable powersaving.
More information about the arch-commits
mailing list