summaryrefslogtreecommitdiff
path: root/extra/audacity
diff options
context:
space:
mode:
authorroot <root@rshg054.dnsready.net>2011-08-30 23:14:43 +0000
committerroot <root@rshg054.dnsready.net>2011-08-30 23:14:43 +0000
commitb82f11fd76e83d60504649838e60a235b394160f (patch)
tree4914b89dc1dbc3ea44ae87c567ac7e9fc821c529 /extra/audacity
parente13fbaf2cbb72b7e8c8278ea94b70dd4a8ce48b2 (diff)
Tue Aug 30 23:14:43 UTC 2011
Diffstat (limited to 'extra/audacity')
-rw-r--r--extra/audacity/PKGBUILD34
-rw-r--r--extra/audacity/audacity.install13
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
+}