diff options
Diffstat (limited to 'extra/audacity')
-rw-r--r-- | extra/audacity/PKGBUILD | 34 | ||||
-rw-r--r-- | extra/audacity/audacity.install | 13 |
2 files changed, 47 insertions, 0 deletions
diff --git a/extra/audacity/PKGBUILD b/extra/audacity/PKGBUILD new file mode 100644 index 000000000..d5c42fd92 --- /dev/null +++ b/extra/audacity/PKGBUILD @@ -0,0 +1,34 @@ +# $Id: PKGBUILD 119629 2011-04-12 20:51:50Z eric $ +# Maintainer: Eric BĂ©langer <eric@archlinux.org> + +pkgname=audacity +pkgver=1.3.13 +pkgrel=1 +pkgdesc="A program that lets you manipulate digital audio waveforms" +arch=('i686' 'x86_64') +url="http://audacity.sourceforge.net/" +license=('GPL') +depends=('libvorbis' 'libmad' 'libid3tag' 'wxgtk' 'libsamplerate' 'lame' 'hicolor-icon-theme' + 'shared-mime-info' 'desktop-file-utils' 'redland' 'jack' 'soundtouch') +makedepends=('zip') +options=('!makeflags') +install=audacity.install +source=(http://audacity.googlecode.com/files/${pkgname}-minsrc-${pkgver}-beta.tar.bz2) +md5sums=('57be7fadb8c8dd17b8462c7ac1561d03') + +build() { + cd "${srcdir}/${pkgname}-src-${pkgver}-beta" + WX_CONFIG=/usr/bin/wx-config ./configure --prefix=/usr \ + --with-portaudio --with-libsamplerate \ + --without-libresample --with-libmad \ + --with-id3tag --with-libflac \ + --with-vorbis --with-libexpat \ + --with-libsndfile --with-soundtouch \ + --enable-unicode --without-taglib + make +} + +package() { + cd "${srcdir}/${pkgname}-src-${pkgver}-beta" + make DESTDIR="${pkgdir}" install +} diff --git a/extra/audacity/audacity.install b/extra/audacity/audacity.install new file mode 100644 index 000000000..028c9f62a --- /dev/null +++ b/extra/audacity/audacity.install @@ -0,0 +1,13 @@ +post_install() { + update-desktop-database -q + update-mime-database usr/share/mime &> /dev/null + gtk-update-icon-cache -q -t -f usr/share/icons/hicolor +} + +post_upgrade() { + post_install $1 +} + +post_remove() { + post_install $1 +} |