PKGBUILD 1.5 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455
  1. # Maintainer: bill-auger <bill-auger@programmer.net>
  2. # Maintainer (aur): Jens John <asterisk@2ion.de>
  3. # Contributor: Alad Wenter <https://wiki.archlinux.org/index.php/Special:EmailUser/Alad>
  4. # Contributor: Alireza Savand <alireza.savand@gmail.com>
  5. # Contributor: Maxime de Roucy <maxime.deroucy@gmail.com>
  6. # Contributor: Xyne <ac xunilhcra enyx, backwards>
  7. # Contributor: speeddefrost
  8. # Contributor: stefanr
  9. # Contributor: Bjorn Neergaard <bjorn@neersighted.com>
  10. pkgname=alsaequal
  11. pkgver=0.6
  12. pkgrel=16
  13. pkgdesc='Real-time adjustable equalizer plugin for ALSA sound server'
  14. url=https://web.archive.org/web/20161105202833/http://thedigitalmachine.net/alsaequal.html
  15. license=('GPL2')
  16. arch=('armv7' 'i686' 'x86_64')
  17. depends=('alsa-lib' 'caps')
  18. optdepends=('swh-plugins: to use the mbeq equalizer (15-band)')
  19. install=alsaequal.install
  20. source=(https://launchpad.net/ubuntu/+archive/primary/+files/alsaequal_${pkgver}.orig.tar.bz2
  21. 'makefile.patch'
  22. 'false_error.patch'
  23. 'caps_9.x.patch')
  24. sha256sums=('916e7d152added24617efc350142438a46099efe062bd8781d36dbf10b4e6ff0'
  25. 'c3bde63c45066f26fec21a38f6b4fc70d1fe534b9d20c4a9655fc15004c03792'
  26. 'c1a02bfed6be6385e8ab4ebe7c9c3844e9c0937fbafe0f8d948842c2b7c9f7f0'
  27. 'ba4e79459af3dab96a808ab581759a5a1cf82a1fe69d014cce959d7686e2313e')
  28. prepare()
  29. {
  30. cd "$srcdir/$pkgname"
  31. for f in "$srcdir"/*.patch ; do patch < "$f" ; done ;
  32. }
  33. build()
  34. {
  35. cd "$srcdir/$pkgname"
  36. make
  37. }
  38. package()
  39. {
  40. cd "$srcdir/$pkgname"
  41. install -dm755 "$pkgdir"/usr/lib/alsa-lib
  42. make DESTDIR="$pkgdir" install
  43. }