summarylogtreecommitdiffstats
diff options
context:
space:
mode:
authorAndrew Stubbs2016-03-22 12:30:01 +0000
committerAndrew Stubbs2016-03-22 12:30:01 +0000
commitf0d7a94c2c77b29d01d1e320925f5d4a306a47b4 (patch)
treec63695186d4be838756a037882176cf6b8ab6da7
parent42b8243711d8b81a33fbdfbe5da18ac0abb1925f (diff)
downloadaur-f0d7a94c2c77b29d01d1e320925f5d4a306a47b4.tar.gz
Fix building with Yaourt.
Yaourt tries to set BUILDDIR to put the object files in a different directory to the sources. It might be possible to make this work using configure options, but it's easier to just stop it happening.
-rw-r--r--.SRCINFO4
-rw-r--r--PKGBUILD6
2 files changed, 7 insertions, 3 deletions
diff --git a/.SRCINFO b/.SRCINFO
index 32c14b66b0c..bebd2d68cf6 100644
--- a/.SRCINFO
+++ b/.SRCINFO
@@ -1,9 +1,9 @@
# Generated by mksrcinfo v8
-# Fri Feb 26 11:27:27 UTC 2016
+# Tue Mar 22 12:23:21 UTC 2016
pkgbase = mimic-git
pkgdesc = Text-to-speech voice synthesis from the Mycroft project.
pkgver = r28.8e28e5b
- pkgrel = 1
+ pkgrel = 2
url = https://mimic.mycroft.ai/
arch = x86_64
arch = i686
diff --git a/PKGBUILD b/PKGBUILD
index 148f9dfe0af..05c2884ad15 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -1,7 +1,7 @@
# Maintainer: Andrew Stubbs <andrew.stubbs@gmail.com>
pkgname=mimic-git
pkgver=r28.8e28e5b
-pkgrel=1
+pkgrel=2
pkgdesc="Text-to-speech voice synthesis from the Mycroft project."
arch=(x86_64 i686)
url="https://mimic.mycroft.ai/"
@@ -33,6 +33,10 @@ pkgver() {
}
build() {
+ # mimic does not support building with BUILDDIR set
+ # (yaourt does this)
+ unset BUILDDIR
+
cd "$srcdir/${pkgname%-git}"
#./configure --prefix=/usr --with-audio=pulseaudio
./configure --prefix=/usr --with-audio=alsa