summaryrefslogtreecommitdiff
path: root/community/alsa-tools/PKGBUILD
blob: c49246f5d60696fc08bb2f08dab1c85bb67746b8 (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
30
31
32
33
34
35
36
37
38
39
40
# $Id: PKGBUILD 62752 2012-01-25 20:12:30Z seblu $
#Maintainer: Sebastien Luttringer <seblu+arch@seblu.net>
#Contributor: Jochen Immend�rfer <jochen dot immendoerfer at gmail dot com>

pkgname=alsa-tools
pkgver=1.0.25
pkgrel=1
pkgdesc='ALSA tools package'
arch=('i686' 'x86_64')
url='http://alsa-project.org/'
license=('GPL2')
depends=('fltk' 'alsa-lib' 'gtk2')
options=('!libtool')
source=("ftp://ftp.alsa-project.org/pub/tools/$pkgname-$pkgver.tar.bz2")
md5sums=('57bfec98a814d12e0f7ab379aaeccd87')

build() {
  for f in $(find "$srcdir/$pkgname-$pkgver" -type f -name configure ); do
    [[ -x $f ]] || continue
    cd "${f%/*}"
    [[ qlo10k1 = ${PWD##*/} ]] && continue
    [[ hwmixvolume = ${PWD##*/} ]] && continue
    msg2 "Building ${PWD##*/}"
    ./configure --prefix=/usr --x-libraries=/usr/lib
    make
  done
}

package() {
  for f in $(find "$srcdir/$pkgname-$pkgver" -type f -name configure ); do
    [[ -x $f ]] || continue
    cd "${f%/*}"
    [[ qlo10k1 = ${PWD##*/} ]] && continue
    [[ hwmixvolume = ${PWD##*/} ]] && continue
    msg2 "Installing ${PWD##*/}"
    make "DESTDIR=$pkgdir" install
  done
}

# vim:set ts=2 sw=2 ft=sh et: