# Maintainer: Maxime Gauduin <alucryd@archlinux.org>
# Contributor: Eric Bélanger <eric@archlinux.org>

pkgname=soundtouch
pkgver=2.1.2
pkgrel=1
pkgdesc='An audio processing library'
arch=(x86_64)
url='http://www.surina.net/soundtouch/'
license=(LGPL)
makedepends=(git)
source=(git+https://gitlab.com/soundtouch/soundtouch.git#tag=${pkgver})
sha256sums=(SKIP)

prepare() {
  cd soundtouch

  ./bootstrap
}

build() {
  cd soundtouch

  ./configure \
    --prefix='/usr' \
    --enable-shared
  make
}

package() {
  make DESTDIR="${pkgdir}" pkgdocdir='/usr/share/doc/soundtouch' -C soundtouch install
}

# vim: ts=2 sw=2 et:
