# $Id: PKGBUILD 175820 2013-01-22 06:29:20Z eric $ # Maintainer: Eric BĂ©langer pkgname=audacity pkgver=2.0.3 pkgrel=2 pkgdesc="A program that lets you manipulate digital audio waveforms" arch=('i686' 'x86_64') url="http://audacity.sourceforge.net/" license=('GPL') depends=('libmad' 'libid3tag' 'wxgtk' 'lame' 'hicolor-icon-theme' 'desktop-file-utils' 'jack' 'soundtouch' 'ffmpeg-compat') options=('!makeflags') install=audacity.install source=(http://audacity.googlecode.com/files/${pkgname}-minsrc-${pkgver}.tar.xz) sha1sums=('72e634711fb96aac9df445e75e16e12e00c047e6') build() { cd "${srcdir}/${pkgname}-src-${pkgver}" WX_CONFIG=/usr/bin/wx-config PKG_CONFIG_PATH+="/usr/lib/ffmpeg-compat/pkgconfig" \ ./configure --prefix=/usr --docdir=/usr/share/doc/audacity \ --with-portaudio --with-libsoxr --without-libsamplerate \ --without-libresample --with-libmad \ --with-ffmpeg --with-id3tag --with-libflac \ --with-vorbis --with-libexpat \ --with-libsndfile --with-soundtouch \ --enable-unicode --without-taglib make } package() { cd "${srcdir}/${pkgname}-src-${pkgver}" make DESTDIR="${pkgdir}" install }