summaryrefslogtreecommitdiff
path: root/extra/alsa-utils/PKGBUILD
diff options
context:
space:
mode:
authorroot <root@rshg054.dnsready.net>2013-04-16 00:06:15 -0700
committerroot <root@rshg054.dnsready.net>2013-04-16 00:06:15 -0700
commit975d6f489c6c43bbc7b816ac43333c54c1f4df21 (patch)
treee10299091457df6104611a2b54c3a27cdbeab49b /extra/alsa-utils/PKGBUILD
parenta196f69321b722259bed2cc63e6f64a5cb0b8389 (diff)
Tue Apr 16 00:06:15 PDT 2013
Diffstat (limited to 'extra/alsa-utils/PKGBUILD')
-rw-r--r--extra/alsa-utils/PKGBUILD28
1 files changed, 16 insertions, 12 deletions
diff --git a/extra/alsa-utils/PKGBUILD b/extra/alsa-utils/PKGBUILD
index 5fd8b4e61..e63024bb2 100644
--- a/extra/alsa-utils/PKGBUILD
+++ b/extra/alsa-utils/PKGBUILD
@@ -1,10 +1,10 @@
-# $Id: PKGBUILD 166379 2012-09-07 09:13:20Z tpowa $
+# $Id: PKGBUILD 182805 2013-04-15 13:03:31Z tpowa $
# Maintainer: Tobias Powalowski <tpowa@archlinux.org>
# Contributor: judd <jvinet@zeroflux.org>
pkgname=alsa-utils
-pkgver=1.0.26
-pkgrel=1
+pkgver=1.0.27
+pkgrel=3
pkgdesc="An alternative implementation of Linux sound support"
arch=('i686' 'x86_64')
url="http://www.alsa-project.org"
@@ -13,11 +13,17 @@ depends=("alsa-lib>1.0.24" 'dialog' 'pciutils' 'ncurses' 'psmisc' 'libsamplerate
makedepends=('xmlto' 'docbook-xsl')
license=('GPL')
source=(ftp://ftp.alsa-project.org/pub/utils/$pkgname-${pkgver}.tar.bz2
- alsa
- alsa.conf.d
- 90alsa)
+ 90alsa
+ alsa-restore-1.0.27.service.patch
+ alsactl-fix-buffer-overflow-1.0.27.patch)
backup=(etc/conf.d/alsa)
+prepare() {
+ cd ${srcdir}/${pkgname}-${pkgver}
+ patch -Np1 -i ${srcdir}/alsa-restore-1.0.27.service.patch
+ patch -Np1 -i ${srcdir}/alsactl-fix-buffer-overflow-1.0.27.patch
+}
+
build() {
cd ${srcdir}/${pkgname}-${pkgver}
./configure --prefix=/usr --disable-alsaconf \
@@ -29,14 +35,12 @@ build() {
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
install -D -m755 ../90alsa ${pkgdir}/etc/pm/sleep.d/90alsa
# dir where to save ALSA state
install -d ${pkgdir}/var/lib/alsa
}
-md5sums=('4dcf1017fafc91603af96705c073eca9'
- '2ba1a1cbf653bf1a69f8a720fd6549da'
- '4c8ae9f976c7df5e271a4cb91ccc7767'
- '529216f6a46e61a546640e08ea7a0879')
+md5sums=('cbfb21a24f63fb052b3392195639ce48'
+ '529216f6a46e61a546640e08ea7a0879'
+ '0a27f7b80351d6baa274c32d859bf037'
+ 'cd577445636542f9f60b420e4ffe3f0f')