1. # $Id: PKGBUILD, 2009/06/6$
  2. # Maintainer: Maxime de Roucy <maxime.deroucy@gmail.com>
  3. # Contributor: Xyne <ac xunilhcra enyx, backwards>
  4. pkgname=alsaequal
  5. pkgver=0.6
  6. pkgrel=6
  7. pkgdesc="A real-time adjustable equalizer plugin for ALSA sound server."
  8. arch=(i686 x86_64)
  9. url="http://www.thedigitalmachine.net/alsaequal.html"
  10. license=('GPL2')
  11. depends=('alsa-lib' 'ladspa')
  12. optdepends=('caps')
  13. install='alsaequal.install'
  14. source=("http://www.thedigitalmachine.net/tools/alsaequal-${pkgver}.tar.bz2"
  15.         'alsaequal.patch'
  16.         'false_error.patch')
  17. md5sums=('d2edc7710c72cbf3ab297c414e35ebda'
  18. '40911a2eedc8fdb85b68bb81ccea65eb'
  19. 'c1c9908d95599d0aa4accc160677e80c')
  20.  
  21. build() {
  22.   cd "$srcdir/$pkgname"
  23.   patch < ../alsaequal.patch
  24.   patch < ../false_error.patch
  25.   mkdir -p "$pkgdir/usr/lib/alsa-lib/"
  26.   make
  27. }
  28.  
  29. package() {
  30.   cd "$srcdir/$pkgname"
  31.   make DESTDIR="$pkgdir" install
  32. }