summarylogtreecommitdiffstats
diff options
context:
space:
mode:
authorDamien Flament2018-12-16 23:40:28 +0100
committerDamien Flament2018-12-16 23:40:28 +0100
commit73e87035164bd9fe132db7d9875a50188133b2ca (patch)
tree1d3052168e74ffcc14308228865dc8527fa197f0
parentcf7d566da89991d685e56008da10f7735e3651a3 (diff)
downloadaur-73e87035164bd9fe132db7d9875a50188133b2ca.tar.gz
Updated build commands.
-rw-r--r--PKGBUILD13
1 files changed, 5 insertions, 8 deletions
diff --git a/PKGBUILD b/PKGBUILD
index fefbc8b09e3..7f0e411d002 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -30,17 +30,14 @@ function pkgver
function build
{
cd "$_pkgtitle"
-
- qmake-qt5 -r librecad.pro \
- QMAKE_CFLAGS="${CFLAGS}" \
- QMAKE_CXXFLAGS="${CXXFLAGS}"
-
+ qmake librecad.pro \
+ QMAKE_CPPFLAGS="$CPPFLAGS" \
+ QMAKE_CFLAGS="$CFLAGS" \
+ QMAKE_CXXFLAGS="$CXXFLAGS" \
+ QMAKE_LDFLAGS="$LDFLAGS"
make
- msg "Building ${_pkgtitle} plugins"
-
cd 'plugins'
- qmake-qt5
make
}