2011-11-04 03:10:09 +00:00
|
|
|
# $Id: PKGBUILD 136035 2011-08-21 23:31:51Z eric $
|
|
|
|
# Maintainer: Eric Bélanger <eric@archlinux.org>
|
|
|
|
|
2013-01-03 07:02:36 +00:00
|
|
|
# ALARM: Kevin Mihelich <kevin@archlinuxarm.org>
|
|
|
|
# - --with-pic for v6h/v7h
|
2011-11-04 03:10:09 +00:00
|
|
|
|
|
|
|
pkgname=soundtouch
|
2016-04-25 18:16:19 +00:00
|
|
|
pkgver=1.9.2
|
|
|
|
pkgrel=1
|
2011-11-04 03:10:09 +00:00
|
|
|
pkgdesc="An audio processing library"
|
|
|
|
arch=('i686' 'x86_64')
|
|
|
|
url="http://www.surina.net/soundtouch/"
|
|
|
|
license=('LGPL')
|
|
|
|
depends=('gcc-libs')
|
2015-07-15 00:03:52 +00:00
|
|
|
source=(http://www.surina.net/soundtouch/${pkgname}-${pkgver}.tar.gz)
|
2016-04-25 18:16:19 +00:00
|
|
|
sha1sums=('847be1bc987e410cc7349fdd83f353f4372534d1')
|
2014-03-18 15:25:54 +00:00
|
|
|
|
|
|
|
prepare() {
|
|
|
|
cd ${pkgname}
|
|
|
|
sed -i 's/AM_CONFIG_HEADER/AC_CONFIG_HEADER/' configure.ac
|
|
|
|
}
|
2011-11-04 03:10:09 +00:00
|
|
|
|
|
|
|
build() {
|
2014-03-18 15:25:54 +00:00
|
|
|
cd ${pkgname}
|
2011-11-04 03:10:09 +00:00
|
|
|
|
2012-07-29 19:28:47 +00:00
|
|
|
[ "${CARCH}" = "armv6h" -o "${CARCH}" = "armv7h" ] && CONFIGFLAG="--with-pic"
|
2011-11-04 03:10:09 +00:00
|
|
|
./bootstrap
|
|
|
|
./configure --prefix=/usr --enable-shared ${CONFIGFLAG}
|
|
|
|
make
|
|
|
|
}
|
|
|
|
|
|
|
|
package() {
|
2014-03-18 15:25:54 +00:00
|
|
|
cd ${pkgname}
|
2011-11-04 03:10:09 +00:00
|
|
|
make DESTDIR="${pkgdir}" pkgdocdir=/usr/share/doc/soundtouch install
|
|
|
|
}
|