diff options
Diffstat (limited to 'extra/alsa-utils/PKGBUILD')
-rw-r--r-- | extra/alsa-utils/PKGBUILD | 42 |
1 files changed, 42 insertions, 0 deletions
diff --git a/extra/alsa-utils/PKGBUILD b/extra/alsa-utils/PKGBUILD new file mode 100644 index 000000000..291bb5767 --- /dev/null +++ b/extra/alsa-utils/PKGBUILD @@ -0,0 +1,42 @@ +# $Id: PKGBUILD 110704 2011-02-21 18:04:49Z tpowa $ +# Maintainer: Tobias Powalowski <tpowa@archlinux.org> +# Contributor: judd <jvinet@zeroflux.org> + +pkgname=alsa-utils +pkgver=1.0.24.2 +pkgrel=1 +pkgdesc="An alternative implementation of Linux sound support" +arch=('i686' 'x86_64' 'mips64el') +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.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 + 90alsa) +backup=(etc/conf.d/alsa) + +build() { + cd ${srcdir}/${pkgname}-${pkgver} + patch -Np1 -i ../alsaconf.patch + ./configure --prefix=/usr + 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=('8238cd57cb301d1c36bcf0ecb59ce6b2' + '2ba1a1cbf653bf1a69f8a720fd6549da' + '62ebef77d5617d0036012cc541dcf23c' + '4c8ae9f976c7df5e271a4cb91ccc7767' + '529216f6a46e61a546640e08ea7a0879') |