summaryrefslogtreecommitdiff
path: root/extra/libsamplerate/PKGBUILD
blob: 3e09896a9b75fbf3307513b941ee9aa76c2eccaf (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
# $Id: PKGBUILD 197267 2013-10-24 20:17:46Z eric $
# Maintainer: Eric Bélanger <eric@archlinux.org>

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

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

check() {
  cd ${pkgname}-${pkgver}
  make check
}

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