index : packages | |
Archlinux32 package modifications | gitolite user |
summaryrefslogtreecommitdiff |
-rw-r--r-- | community/fig2dev/PKGBUILD | 18 |
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 \ + '"'"' {} \; + ' +)" |