summaryrefslogtreecommitdiff
path: root/extra/ardour/PKGBUILD
diff options
context:
space:
mode:
Diffstat (limited to 'extra/ardour/PKGBUILD')
-rw-r--r--extra/ardour/PKGBUILD17
1 files changed, 11 insertions, 6 deletions
diff --git a/extra/ardour/PKGBUILD b/extra/ardour/PKGBUILD
index e1719ecc2..01a03ef63 100644
--- a/extra/ardour/PKGBUILD
+++ b/extra/ardour/PKGBUILD
@@ -1,10 +1,11 @@
-# $Id: PKGBUILD 180842 2013-03-26 21:39:25Z schiv $
+# $Id: PKGBUILD 182614 2013-04-11 09:00:27Z schiv $
# Maintainer: Ray Rashif <schiv@archlinux.org>
# Contributor: SpepS <dreamspepser at yahoo dot it>
# Contributor: see .contrib
pkgname=ardour
-pkgver=3.0
+_pkgname=Ardour3
+pkgver=3.1
pkgrel=1
pkgdesc="Professional-grade digital audio workstation"
arch=('i686' 'x86_64')
@@ -16,14 +17,18 @@ makedepends=('python2' 'boost' 'cppunit' 'doxygen' 'graphviz')
install=$pkgname.install
source=("ftp://ftp.archlinux.org/other/$pkgname/$pkgname-$pkgver.tar.bz2"
"$pkgname.desktop")
-md5sums=('2759df2ac29e6075e006cc5b262bfee0'
+md5sums=('6291ee6e6519a801a6c7255eb005895f'
'316bd21ece5e2208a104fd09cac521af')
-build() {
- cd "$pkgname-$pkgver"
+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=/usr \
--configdir=/etc \
@@ -33,7 +38,7 @@ build() {
}
package() {
- cd "$pkgname-$pkgver"
+ cd "$srcdir/$_pkgname-$pkgver"
python2 waf install --destdir="$pkgdir"