audacity/PKGBUILD

53 lines
1.2 KiB
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
2017-01-13 11:10:00 +09:00
pkgver=2.1.2.r1637.ge47a2ec3
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-01-13 11:10:00 +09:00
depends=('desktop-file-utils'
'ffmpeg'
'lame'
'libid3tag'
'libmad'
'lilv'
'portsmf'
'sbsms'
'soundtouch'
'vamp-plugin-sdk'
'webkitgtk2'
'wxgtk')
2015-11-03 01:12:10 +09:00
makedepends=('cmake' 'python2' 'twolame')
options=('!makeflags')
provides=('audacity')
conflicts=('audacity')
2015-11-22 22:43:00 +09:00
source=("$_pkgname::git+https://github.com/audacity/audacity.git"
2015-11-03 01:12:10 +09:00
'audacity-ffmpeg.patch')
sha1sums=('SKIP'
'5f1733a3802bcec7d9b54cb3ec8d7d81fc38fc61')
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
}
prepare() {
cd "$srcdir/$_pkgname"
patch -p1 -i "${srcdir}/audacity-ffmpeg.patch"
}
build() {
cd "$srcdir/$_pkgname"
./configure --prefix=/usr --with-libsamplerate
make
}
package() {
cd "$srcdir/$_pkgname"
make DESTDIR="${pkgdir}" install
}