PKGBUILDs/extra/soundtouch/PKGBUILD
2009-10-09 21:23:22 -05:00

25 lines
847 B
Bash

# $Id: PKGBUILD,v 1.13 2007/06/19 02:12:51 Snowman Exp $
# Maintainer: Eric Belanger <eric@archlinux.org>
# Contributor: Jaroslaw Swierczynski <swiergot@juvepoland.com>
# Contributor: Raymano <re1212122000@yahoo.com>
pkgname=soundtouch
pkgver=1.3.1
pkgrel=3
pkgdesc="An audio processing library"
arch=('i686' 'x86_64')
url="http://www.surina.net/soundtouch/"
license=('LGPL')
depends=('gcc-libs')
options=('!libtool')
source=(http://www.surina.net/soundtouch/${pkgname}-${pkgver}.tar.gz 07_gcc43.patch)
md5sums=('5e0185e81dbba2f2eed8581b7664ab04' '3c7f912769f8c59042a12277deba5d89')
build() {
cd ${srcdir}/${pkgname}-${pkgver}
patch -p1 < ../07_gcc43.patch || return 1
./bootstrap || return 1
./configure --prefix=/usr || return 1
make || return 1
make DESTDIR=$startdir/pkg pkgdocdir=/usr/share/doc/soundtouch install || return 1
}