summaryrefslogtreecommitdiff
path: root/extra/aubio/PKGBUILD
blob: 03e7c7ab71a217425c3e635870bfa4ba456369b4 (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
# $Id: PKGBUILD 150683 2012-02-20 06:58:41Z allan $
# Maintainer: Tobias Kieslich tobias [funnychar] archlinux org
# Contributor: Peter Baldwin <bald_pete@hotmail.com>
# Contributor: Shinlun Hsieh <yngwiexx@yahoo.com.tw>

pkgname=aubio
pkgver=0.3.2
pkgrel=5.2
pkgdesc="A library for audio labelling"
arch=('i686' 'x86_64' 'mips64el')
url="http://aubio.org/"
license=('GPL')
depends=('libsamplerate' 'fftw' 'jack')
options=('!libtool')
source=("http://aubio.org/pub/${pkgname}-${pkgver}.tar.gz"
        aubio-linking.patch)
md5sums=('ffc3e5e4880fec67064f043252263a44'
         '674259ce137ca28ef24bd62482829cd5')

build() {
  cd "${srcdir}/${pkgname}-${pkgver}"

  patch -Np1 -i $srcdir/aubio-linking.patch

  ./configure --prefix=/usr
  make
}

package() {
  cd "${srcdir}/${pkgname}-${pkgver}"
  make DESTDIR="${pkgdir}" install
}