summaryrefslogtreecommitdiff
path: root/extra/webkit2gtk
diff options
context:
space:
mode:
authorAndreas Baumann <mail@andreasbaumann.cc>2019-05-18 11:24:36 +0200
committerAndreas Baumann <mail@andreasbaumann.cc>2019-05-18 11:24:36 +0200
commit1eeb5f5bbf57f69de61a160a879cdcb435db0a14 (patch)
tree7de6afd8e99cbda76fe832a1b14534595ada0bb4 /extra/webkit2gtk
parent3c114d37b2b7ec87de7182aca2077348409dbf83 (diff)
downloadpackages-1eeb5f5bbf57f69de61a160a879cdcb435db0a14.tar.xz
extra/webkit2gtk: a fix for broken makefile support when building documentation
Diffstat (limited to 'extra/webkit2gtk')
-rw-r--r--extra/webkit2gtk/PKGBUILD21
1 files changed, 9 insertions, 12 deletions
diff --git a/extra/webkit2gtk/PKGBUILD b/extra/webkit2gtk/PKGBUILD
index 8f368200..a61bef71 100644
--- a/extra/webkit2gtk/PKGBUILD
+++ b/extra/webkit2gtk/PKGBUILD
@@ -13,15 +13,12 @@ fi
# work around broken generated makefiles resulting in
# "make[2]: *** No rule to make target 'JavaScriptCore-4.0.gir', needed by 'WebKit2-4.0.gir'. Stop."
-if [ "$CARCH" = 'i486' -o "$CARCH" = 'i686' ]; then
-
- eval "$(
- declare -f build | \
- sed '
- /cmake --build build/a \
- cd build && make JavaScriptCore-4-gir && cd .. \
- cmake --build build
- s/\(cmake --build build\)/\1 || true/g
- '
- )"
-fi
+eval "$(
+ declare -f build | \
+ sed '
+ /cmake --build build/a \
+ cd build && make JavaScriptCore-4-gir && cd .. \
+ cmake --build build
+ s/\(cmake --build build\)/\1 || true/g
+ '
+)"