audacity/PKGBUILD

37 lines
1013 B
Bash
Raw Normal View History

2017-01-13 11:10:00 +09:00
# Maintainer: Bernhard Landauer <oberon@manjaro.org>
2015-11-03 01:12:10 +09:00
# Contributor: Eric Bélanger <eric@archlinux.org>
pkgname=audacity-git
_pkgname=audacity
2020-04-17 05:05:36 +09:00
pkgver=2.3.3.r1073.g9827d4a75
2015-11-03 01:12:10 +09:00
pkgrel=1
pkgdesc="A program that lets you manipulate digital audio waveforms"
arch=('i686' 'x86_64')
2017-01-13 11:15:02 +09:00
url="http://www.audacityteam.org/"
2015-11-03 01:12:10 +09:00
license=('GPL')
2017-12-24 06:51:21 +09:00
depends=('libmad' 'libid3tag' 'wxgtk3' 'lame' 'soundtouch'
'ffmpeg' 'vamp-plugin-sdk' 'portsmf' 'twolame' 'suil' 'lilv')
2020-04-17 05:05:36 +09:00
makedepends=('cmake' 'git')
2017-03-08 11:34:40 +09:00
optdepends=('audacity-extras: nyquist plugins for audacity')
2019-02-27 04:37:53 +09:00
#options=('!makeflags')
2015-11-03 01:12:10 +09:00
provides=('audacity')
conflicts=('audacity')
2017-03-15 11:56:38 +09:00
source=("$_pkgname::git+https://github.com/audacity/audacity.git")
sha1sums=('SKIP')
2015-11-03 01:12:10 +09:00
pkgver() {
cd "$srcdir/$_pkgname"
2017-01-13 11:10:00 +09:00
git describe --long --tags | sed 's/\([^-]*-g\)/r\1/;s/-/./g' | cut -d'.' -f2-
2015-11-03 01:12:10 +09:00
}
build() {
cd "$srcdir/$_pkgname"
2017-12-24 06:51:21 +09:00
WX_CONFIG=wx-config-gtk3 ./configure --prefix=/usr --with-libsamplerate
2015-11-03 01:12:10 +09:00
make
}
package() {
cd "$srcdir/$_pkgname"
make DESTDIR="${pkgdir}" install
}