summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--abs/extra/soundtouch/PKGBUILD31
1 files changed, 31 insertions, 0 deletions
diff --git a/abs/extra/soundtouch/PKGBUILD b/abs/extra/soundtouch/PKGBUILD
new file mode 100644
index 0000000..0ea927e
--- /dev/null
+++ b/abs/extra/soundtouch/PKGBUILD
@@ -0,0 +1,31 @@
+# $Id$
+# Maintainer: Eric BĂ©langer <eric@archlinux.org>
+
+pkgname=soundtouch
+pkgver=1.8.0
+pkgrel=1
+pkgdesc="An audio processing library"
+arch=('i686' 'x86_64')
+url="http://www.surina.net/soundtouch/"
+license=('LGPL')
+depends=('gcc-libs')
+source=(http://www.surina.net/soundtouch/${pkgname}-${pkgver}.tar.gz)
+sha1sums=('2cee2c63194227b4a58da01a7cd92b8632f139cd')
+
+prepare() {
+ cd ${pkgname}
+ sed -i 's/AM_CONFIG_HEADER/AC_CONFIG_HEADER/' configure.ac
+}
+
+build() {
+ cd ${pkgname}
+ [ "${CARCH}" = "x86_64" ] && CONFIGFLAG="--with-pic"
+ ./bootstrap
+ ./configure --prefix=/usr --enable-shared ${CONFIGFLAG}
+ make
+}
+
+package() {
+ cd ${pkgname}
+ make DESTDIR="${pkgdir}" pkgdocdir=/usr/share/doc/soundtouch install
+}