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

26 lines
1 KiB
Bash

# $Id: PKGBUILD 51879 2009-09-13 02:43:54Z eric $
# Maintainer: Ronald van Haren <ronald.archlinux.org>
# Contributor: dale <dale@archlinux.org>
# Contributor: Tom Newsom <Jeepster@gmx.co.uk>
pkgname=sox
pkgver=14.3.0
pkgrel=1
pkgdesc="The Swiss Army knife of sound processing tools"
arch=('i686' 'x86_64')
url="http://sox.sourceforge.net/"
license=('GPL' 'LGPL')
depends=('ffmpeg>=0.5' 'libao' 'libvorbis' 'lame' 'libmad' 'bash' 'alsa-lib' 'libsndfile' 'libsamplerate' 'libtool' 'file')
options=('!libtool')
source=(http://downloads.sourceforge.net/sourceforge/${pkgname}/${pkgname}-${pkgver}.tar.gz)
md5sums=('8e3509804e6227273ef84092e1a2fea7')
sha1sums=('34b8e991ba8511fa9683e9e9d356fb7f4179d03c')
build() {
cd "${srcdir}/${pkgname}-${pkgver}"
./configure --prefix=/usr --sysconfdir=/etc --with-dyn-default --with-distro="Arch Linux" || return 1
make || return 1
make DESTDIR="${pkgdir}" install || return 1
ln -sf play "${pkgdir}/usr/bin/rec" || return 1
ln -sf ../man1/sox.1.gz "${pkgdir}/usr/share/man/man7/soxeffect.7"
}