summaryrefslogtreecommitdiff
path: root/extra/aubio/PKGBUILD
blob: 89e454ef62363dee1be0f57dfcaab0218b44fdcc (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 197869 2013-10-30 11:22:11Z 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')
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
}