gtk/ardour3/PKGBUILD
2013-07-25 17:03:29 +00:00

44 lines
1.1 KiB
Bash

pkgname=ardour
_pkgname=Ardour3
pkgver=3.3
pkgrel=1
pkgdesc="Professional-grade digital audio workstation"
arch=('x86_64')
url="http://ardour.org/"
license=('GPL')
depends=('liblrdf' 'liblo' 'libsmf' 'lilv>=0.16.0'
'aubio' 'libgnomecanvasmm' 'suil>=0.6.12')
makedepends=('python2' 'boost' 'cppunit' 'doxygen' 'graphviz')
install=$pkgname.install
source=("ftp://ftp.archlinux.org/other/$pkgname/${_pkgname}-$pkgver.tar.bz2"
"$pkgname.desktop")
md5sums=('40edf6ab63488d52abf94a2a48d7ac97'
'1c1b9acc4636f87264337151b76ee3cf')
prepare() {
cd "$srcdir/$_pkgname-$pkgver"
# python2 fix
sed -i 's/python ${SRC}/python2 ${SRC}/' libs/pbd/wscript
}
build() {
cd "$srcdir/$_pkgname-$pkgver"
python2 waf configure --prefix=/extra/usr \
--configdir=/extra/etc \
--docs
python2 waf build $MAKEFLAGS
}
package() {
cd "$srcdir/$_pkgname-$pkgver"
python2 waf install --destdir="$pkgdir"
# install some freedesktop.org compatibility
install -Dm644 "$srcdir/$pkgname.desktop" \
"$pkgdir/extra/usr/share/applications/$pkgname.desktop"
}