diff options
author | Michael Hanson <hansonorders@verizon.net> | 2011-02-26 03:24:37 (GMT) |
---|---|---|
committer | Michael Hanson <hansonorders@verizon.net> | 2011-02-26 03:24:37 (GMT) |
commit | 7448592596b972aa6a0a412bdaa25992d498814a (patch) | |
tree | 9e01feb5e685fb7dc20098b0f3c9efb480918512 /abs | |
parent | 33a843bf14c52c52663c719a3c83222186f477d3 (diff) | |
download | linhes_pkgbuild-7448592596b972aa6a0a412bdaa25992d498814a.zip linhes_pkgbuild-7448592596b972aa6a0a412bdaa25992d498814a.tar.gz linhes_pkgbuild-7448592596b972aa6a0a412bdaa25992d498814a.tar.bz2 |
alsa-utils: upgrade to 1.0.24.2
Diffstat (limited to 'abs')
-rw-r--r-- | abs/core/alsa-utils/90alsa | 14 | ||||
-rw-r--r-- | abs/core/alsa-utils/PKGBUILD | 39 |
2 files changed, 39 insertions, 14 deletions
diff --git a/abs/core/alsa-utils/90alsa b/abs/core/alsa-utils/90alsa new file mode 100644 index 0000000..9027813 --- /dev/null +++ b/abs/core/alsa-utils/90alsa @@ -0,0 +1,14 @@ +#!/bin/sh +# +# 90alsa: suspend/wakeup ALSA devices + +case "$1" in +hibernate|suspend) +;; +thaw|resume) +aplay -d 1 /dev/zero +;; +*) exit $NA +;; +esac + diff --git a/abs/core/alsa-utils/PKGBUILD b/abs/core/alsa-utils/PKGBUILD index 2f6e163..2486b03 100644 --- a/abs/core/alsa-utils/PKGBUILD +++ b/abs/core/alsa-utils/PKGBUILD @@ -1,31 +1,42 @@ -# $Id: PKGBUILD 79271 2010-05-02 14:42:00Z tpowa $ -# Maintainer: judd <jvinet@zeroflux.org> +# $Id$ +# Maintainer: Tobias Powalowski <tpowa@archlinux.org> +# Contributor: judd <jvinet@zeroflux.org> + pkgname=alsa-utils -pkgver=1.0.23 -pkgrel=2 +pkgver=1.0.24.2 +pkgrel=1 pkgdesc="An alternative implementation of Linux sound support" arch=('i686' 'x86_64') url="http://www.alsa-project.org" #can not use >=$pkgver due to use of letters in alsa-lib update versioning -depends=("alsa-lib>1.0.22.99" 'dialog' 'pciutils' 'ncurses') +depends=("alsa-lib>1.0.24" 'dialog' 'pciutils' 'ncurses' 'psmisc') makedepends=('xmlto' 'docbook-xsl') license=('GPL') source=(ftp://ftp.alsa-project.org/pub/utils/$pkgname-${pkgver}.tar.bz2 alsa alsaconf.patch - alsa.conf.d) + alsa.conf.d + 90alsa) 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 + install -D -m755 ../90alsa ${pkgdir}/etc/pm/sleep.d/90alsa + # dir where to save ALSA state + install -d ${pkgdir}/var/lib/alsa } -md5sums=('cb0cf46029ac9549cf3a31bff6a4f4e1' +md5sums=('8238cd57cb301d1c36bcf0ecb59ce6b2' '3ef812cae83053d01cd560284efad71f' '62ebef77d5617d0036012cc541dcf23c' - '93089f0d8872078939f76dd2acaebc2b') + '93089f0d8872078939f76dd2acaebc2b' + '71b67e9578512e071253966f9403e01d') |