summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--community/fpc/PKGBUILD9
1 files changed, 3 insertions, 6 deletions
diff --git a/community/fpc/PKGBUILD b/community/fpc/PKGBUILD
index 877a91f8..49c09c9c 100644
--- a/community/fpc/PKGBUILD
+++ b/community/fpc/PKGBUILD
@@ -8,14 +8,11 @@
eval "$(
declare -f package | \
sed '
- s@"$CARCH" = "x86_64"@"$CARCH" = "i686"@
- s@ppcx64@ppc386@
- '
- declare -f build | \
- sed '
+ s@"\$CARCH" = "x86_64"@"$CARCH" = "i686"@g
+ s@ppcx64@ppc386@g
s@NOGDB=1@NOGDB=1 PP=/usr/lib/fpc/$pkgver/ppc386 @
'
- declare -f package | \
+ declare -f build | \
sed '
s@NOGDB=1@NOGDB=1 PP=/usr/lib/fpc/$pkgver/ppc386 @
'