Send patches - preferably formatted by git format-patch - to patches at archlinux32 dot org.
summaryrefslogtreecommitdiff
path: root/community/fig2dev/PKGBUILD
diff options
context:
space:
mode:
Diffstat (limited to 'community/fig2dev/PKGBUILD')
-rw-r--r--community/fig2dev/PKGBUILD18
1 files changed, 12 insertions, 6 deletions
diff --git a/community/fig2dev/PKGBUILD b/community/fig2dev/PKGBUILD
index b761add0..56b41da9 100644
--- a/community/fig2dev/PKGBUILD
+++ b/community/fig2dev/PKGBUILD
@@ -1,6 +1,12 @@
-prepare() {
- find "${pkgname}-${pkgver}" \
- -exec sed -i '
- s/Invalid resolution information (-1)\./Invalid spline object./g
- ' {} \;
-}
+eval "$(
+ {
+ declare -f prepare || \
+ printf 'prepare() {\n}\n'
+ } \
+ | sed '
+ $i find "${srcdir}/${pkgname}-${pkgver}" \
+ -exec sed -i '"'"' \
+ s/Invalid resolution information (-1)\./Invalid spline object./g \
+ '"'"' {} \;
+ '
+)"