summaryrefslogtreecommitdiff
path: root/experimental/qt5-qtwebkit/APKBUILD
diff options
context:
space:
mode:
Diffstat (limited to 'experimental/qt5-qtwebkit/APKBUILD')
-rw-r--r--experimental/qt5-qtwebkit/APKBUILD4
1 files changed, 2 insertions, 2 deletions
diff --git a/experimental/qt5-qtwebkit/APKBUILD b/experimental/qt5-qtwebkit/APKBUILD
index fb6c39631..c7e0834e5 100644
--- a/experimental/qt5-qtwebkit/APKBUILD
+++ b/experimental/qt5-qtwebkit/APKBUILD
@@ -3,7 +3,7 @@
pkgname=qt5-qtwebkit
_realname=qtwebkit
pkgver=5.212.0_alpha2
-_realver=${pkgver/_/-}
+_realver=$(printf '%s' "$pkgver" | sed 's/_/-/')
pkgrel=0
pkgdesc="Open source Web browser engine"
url="https://github.com/annulen/webkit"
@@ -72,7 +72,7 @@ build() {
-DUSE_SYSTEM_MALLOC=ON \
${CMAKE_CROSSOPTS}
# too memory hungry
- if [ -z "$JOBS" -o $JOBS -gt 32 ]; then
+ if [ -z "$JOBS" ] || [ $JOBS -gt 32 ]; then
make -j32
else
make