summarylogtreecommitdiffstats
path: root/PKGBUILD
diff options
context:
space:
mode:
authorMichel Zou2018-03-10 10:00:15 +0100
committerMichel Zou2018-03-10 10:00:15 +0100
commitc4cd604ab637315af3f3cd1a7f949105b0aeb5c0 (patch)
tree429222d7a665aa4c5a7fc84792afd54dbaa54c0e /PKGBUILD
parenta6221160ad8042e20f3154e2c97c6929b12e1ee2 (diff)
downloadaur-c4cd604ab637315af3f3cd1a7f949105b0aeb5c0.tar.gz
gcc
Diffstat (limited to 'PKGBUILD')
-rw-r--r--PKGBUILD14
1 files changed, 2 insertions, 12 deletions
diff --git a/PKGBUILD b/PKGBUILD
index 3f68f6b315b..a985f14e4d5 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -30,20 +30,15 @@ prepare() {
cd "$srcdir"/$pkgbase/sources/pyside2
}
-build(){
+build() {
# QtWebKitWidgets: https://bugreports.qt.io/browse/PYSIDE-598
- cmake_args="-DQt5WebKitWidgets_FOUND=FALSE"
+ cmake_args="-DCMAKE_INSTALL_PREFIX=/usr -DCMAKE_BUILD_TYPE=Release -DBUILD_TESTS=OFF -DQt5WebKitWidgets_FOUND=FALSE"
# Build for python2.
cd "$srcdir"/$pkgbase/sources/pyside2
mkdir -p build-py2 && cd build-py2
cmake \
- -DCMAKE_C_COMPILER=/usr/bin/clang \
- -DCMAKE_CXX_COMPILER=/usr/bin/clang++ \
- -DCMAKE_INSTALL_PREFIX=/usr \
- -DCMAKE_BUILD_TYPE=Release \
-DUSE_PYTHON_VERSION=2 \
- -DBUILD_TESTS=OFF \
${cmake_args} ..
make
@@ -51,12 +46,7 @@ build(){
cd "$srcdir"/$pkgbase/sources/pyside2
mkdir -p build-py3 && cd build-py3
cmake \
- -DCMAKE_C_COMPILER=/usr/bin/clang \
- -DCMAKE_CXX_COMPILER=/usr/bin/clang++ \
- -DCMAKE_INSTALL_PREFIX=/usr \
- -DCMAKE_BUILD_TYPE=Release \
-DUSE_PYTHON_VERSION=3 \
- -DBUILD_TESTS=OFF \
${cmake_args} ..
make
}