summaryrefslogtreecommitdiff
path: root/extra/aubio/PKGBUILD
blob: d019dc25e0eb77759e73266dec2a76edda5c3083 (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
# $Id: PKGBUILD 199836 2013-11-17 08:28:12Z 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=6
pkgdesc="A library for audio labelling"
arch=('i686' 'x86_64')
url="http://aubio.org/"
license=('GPL')
depends=('libsamplerate' 'fftw' 'jack')
source=("http://aubio.org/pub/${pkgname}-${pkgver}.tar.gz"
        aubio-linking.patch)
md5sums=('ffc3e5e4880fec67064f043252263a44'
         '674259ce137ca28ef24bd62482829cd5')

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

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

  ./configure --prefix=/usr
  make
}

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