summaryrefslogtreecommitdiff
path: root/extra/libsamplerate/PKGBUILD
blob: 20b70ea563edc0017879a7c7f404e259eb48c51f (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 136113 2011-08-23 03:20:21Z eric $
# Maintainer: Eric Bélanger <eric@archlinux.org>

pkgname=libsamplerate
pkgver=0.1.8
pkgrel=1.1
pkgdesc="Secret Rabbit Code - aka Sample Rate Converter for audio"
arch=('i686' 'x86_64' 'mips64el')
url="http://www.mega-nerd.com/SRC/index.html"
license=('GPL')
depends=('libsndfile')
options=('!libtool')
source=(http://www.mega-nerd.com/SRC/libsamplerate-${pkgver}.tar.gz)
md5sums=('1c7fb25191b4e6e3628d198a66a84f47')
sha1sums=('e5fe82c4786be2fa33ca6bd4897db4868347fe70')

build() {
  cd "${srcdir}/${pkgname}-${pkgver}"
  ./configure --prefix=/usr
  make
}

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

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