summaryrefslogtreecommitdiff
path: root/experimental/qt5-qtwebkit/APKBUILD
diff options
context:
space:
mode:
authorMax Rees <maxcrees@me.com>2019-07-21 21:46:48 -0400
committerMax Rees <maxcrees@me.com>2019-07-21 21:46:48 -0400
commite144e346b829eb39c1d2c82f5bdc4f8d991624b7 (patch)
tree97a50dd98dd7482b756f72cb207688094e8eaae2 /experimental/qt5-qtwebkit/APKBUILD
parent0a98be6dbe4597ce4e60063692bea676df03766a (diff)
downloadpackages-e144e346b829eb39c1d2c82f5bdc4f8d991624b7.tar.gz
packages-e144e346b829eb39c1d2c82f5bdc4f8d991624b7.tar.bz2
packages-e144e346b829eb39c1d2c82f5bdc4f8d991624b7.tar.xz
packages-e144e346b829eb39c1d2c82f5bdc4f8d991624b7.zip
experimental/*: remove bashisms
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