Commit 158f0d00 authored by Manuel's avatar Manuel

Add audacity

parent 8df61151
pkgname=audacity
pkgver=2.0.3
pkgrel=1
pkgdesc="A program that lets you manipulate digital audio waveforms"
arch=('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' 'python' 'pkgconfig')
options=('!makeflags')
install="${pkgname}.install"
source=("http://audacity.googlecode.com/files/${pkgname}-minsrc-${pkgver}.tar.xz")
sha1sums=('72e634711fb96aac9df445e75e16e12e00c047e6')
build() {
cd "${srcdir}/${pkgname}-src-${pkgver}"
WX_CONFIG=/extra/usr/bin/wx-config ./configure --prefix=/extra/usr \
--enable-unicode
make
}
package() {
cd "${srcdir}/${pkgname}-src-${pkgver}"
make DESTDIR="${pkgdir}" install
}
post_install() {
xdg-icon-resource forceupdate --theme hicolor &> /dev/null
update-mime-database usr/share/mime &> /dev/null
/usr/bin/kbuildsycoca4 --global --noincremental &> /dev/null
}
post_upgrade() {
post_install $1
}
post_remove() {
post_install $1
}
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment