summaryrefslogtreecommitdiffstats
path: root/abs/core-testing/alsa-utils/PKGBUILD
blob: caa636c6c469e238afe59c45561842135264b8d2 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
# $Id: PKGBUILD 18682 2008-11-08 16:46:01Z tpowa $
# Maintainer: judd <jvinet@zeroflux.org>
pkgname=alsa-utils
pkgver=1.0.18
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.17.999" 'dialog' 'pciutils' 'ncurses')
makedepends=('xmlto' 'docbook-xsl')
license=('GPL')
source=(ftp://ftp.alsa-project.org/pub/utils/$pkgname-${pkgver}.tar.bz2 \
        alsa alsaconf.patch alsa.conf.d)
backup=(etc/conf.d/alsa)

build() {
  cd $startdir/src/$pkgname-${pkgver}
  patch -Np1 -i ../alsaconf.patch || return 1
  ./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
}
md5sums=('0a6b26d27cc2adfd591d91d8c155fdb7'
         '9dff78913b13b10e67c4195e90395ed2'
         '538f82650d08e901efea86c5395520df'
         '93089f0d8872078939f76dd2acaebc2b')