summaryrefslogtreecommitdiff
path: root/extra/libsamplerate/PKGBUILD
blob: 6cdecef977e7ff78b7acc07a97cc03812fb8c9f9 (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
# $Id: PKGBUILD 123061 2011-05-07 21:22:40Z eric $
# Maintainer: Eric Bélanger <eric@archlinux.org>

pkgname=libsamplerate
pkgver=0.1.7
pkgrel=2
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')
options=('!libtool')
source=(http://www.mega-nerd.com/SRC/libsamplerate-${pkgver}.tar.gz)
md5sums=('6731a81cb0c622c483b28c0d7f90867d')
sha1sums=('f3f803ec5feae5a3fdb0fa3937277669e854386e')

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

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