Send patches - preferably formatted by git format-patch - to patches at archlinux32 dot org.
summaryrefslogtreecommitdiff
path: root/community/vamp-aubio-plugins/PKGBUILD
diff options
context:
space:
mode:
Diffstat (limited to 'community/vamp-aubio-plugins/PKGBUILD')
-rw-r--r--community/vamp-aubio-plugins/PKGBUILD16
1 files changed, 11 insertions, 5 deletions
diff --git a/community/vamp-aubio-plugins/PKGBUILD b/community/vamp-aubio-plugins/PKGBUILD
index c07e32f7..7d884b2e 100644
--- a/community/vamp-aubio-plugins/PKGBUILD
+++ b/community/vamp-aubio-plugins/PKGBUILD
@@ -1,5 +1,11 @@
-prepare() {
- sed -i '
- 48 s/x86_64/i686/
- ' vamp-aubio-plugins-0.5.1/wscript
-}
+eval "$(
+ {
+ declare -f prepare || \
+ printf 'prepare() {\n}\n'
+ } \
+ | sed '
+ $i sed -i '"'"' \
+ 48 s/x86_64/i686/ \
+ '"'"' vamp-aubio-plugins-0.5.1/wscript
+ '
+)"