mirror of
https://gitdl.cn/https://github.com/chakralinux/core.git
synced 2025-02-10 14:14:37 +08:00
30 lines
733 B
Bash
30 lines
733 B
Bash
pkgname=soundtouch
|
|
pkgver=2.0.0
|
|
pkgrel=1
|
|
pkgdesc="SoundTouch is an open-source audio processing library for changing the Tempo, Pitch and Playback Rates of audio streams or audio files."
|
|
arch=('x86_64')
|
|
url="http://www.surina.net/soundtouch/"
|
|
license=('LGPL')
|
|
depends=('gcc-libs')
|
|
source=("http://www.surina.net/soundtouch/${pkgname}-${pkgver}.tar.gz")
|
|
sha1sums=('a6829c6b00b8ea684a4998929b1ad05adac449f7')
|
|
|
|
prepare() {
|
|
cd ${pkgname}
|
|
sed -i 's/AM_CONFIG_HEADER/AC_CONFIG_HEADER/' configure.ac
|
|
}
|
|
|
|
build() {
|
|
cd "${srcdir}/${pkgname}"
|
|
|
|
./bootstrap
|
|
./configure --prefix=/usr --enable-shared --with-pic
|
|
make
|
|
}
|
|
|
|
package() {
|
|
cd "${srcdir}/${pkgname}"
|
|
|
|
make DESTDIR="${pkgdir}" pkgdocdir=/usr/share/doc/soundtouch install
|
|
}
|