From f45d56b7e82a79a48351524b2d6b4b592a52b2b9 Mon Sep 17 00:00:00 2001 From: Kevin Mihelich Date: Fri, 22 Mar 2013 22:06:20 +0000 Subject: [PATCH] added extra/audacity --- extra/audacity/PKGBUILD | 32 ++++++++++++++++++++++++++++++++ extra/audacity/audacity.install | 13 +++++++++++++ 2 files changed, 45 insertions(+) create mode 100644 extra/audacity/PKGBUILD create mode 100644 extra/audacity/audacity.install diff --git a/extra/audacity/PKGBUILD b/extra/audacity/PKGBUILD new file mode 100644 index 000000000..21cfa1fcf --- /dev/null +++ b/extra/audacity/PKGBUILD @@ -0,0 +1,32 @@ +# $Id: PKGBUILD 176352 2013-01-30 20:25:49Z eric $ +# Maintainer: Eric BĂ©langer + +# ALARM: Kevin Mihelich +# - added --disable-sse to configure + +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') +makedepends=('cmake') +options=('!makeflags') +install=audacity.install +source=(http://audacity.googlecode.com/files/${pkgname}-minsrc-${pkgver}.tar.xz) +sha1sums=('72e634711fb96aac9df445e75e16e12e00c047e6') + +build() { + cd "${srcdir}/${pkgname}-src-${pkgver}" + PKG_CONFIG_PATH+="/usr/lib/ffmpeg-compat/pkgconfig" \ + ./configure --prefix=/usr --docdir=/usr/share/doc/audacity --disable-sse + make +} + +package() { + cd "${srcdir}/${pkgname}-src-${pkgver}" + 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 +}