summaryrefslogtreecommitdiff
path: root/extra/aubio/PKGBUILD
blob: 29f3848d0bcfc52a2b4dcb27fc7d1b9072449c1a (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
pkgdesc="A library for audio labelling"
arch=('i686' 'x86_64')
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
}