From 29c98a6a7c346b858363d8bba2a7ced71b15b14e Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= Date: Sat, 22 Aug 2015 19:42:51 +0200 Subject: [PATCH] qupzilla: change to build_style=qmake Also use build_pie=yes which is supported by the qmake build style. --- srcpkgs/qupzilla/template | 10 +++------- 1 file changed, 3 insertions(+), 7 deletions(-) diff --git a/srcpkgs/qupzilla/template b/srcpkgs/qupzilla/template index dec4b52f1d..de39578d44 100644 --- a/srcpkgs/qupzilla/template +++ b/srcpkgs/qupzilla/template @@ -1,10 +1,10 @@ # Template file for 'qupzilla' pkgname=qupzilla version=1.8.6 -revision=6 +revision=7 wrksrc=QupZilla-${version} -build_style=gnu-makefile -make_install_args="INSTALL_ROOT=\${DESTDIR}" +build_style=qmake +build_pie=yes hostmakedepends="pkg-config" makedepends="qt5-devel qt5-script-devel qt5-tools-devel qt5-webkit-devel" depends="qt5-plugin-sqlite" @@ -14,7 +14,3 @@ license="GPL-3" homepage="http://www.qupzilla.com/" distfiles="https://github.com/QupZilla/${pkgname}/releases/download/v${version}/QupZilla-${version}.tar.xz" checksum=aecda29f8994c9dc4d6b5f76ce5b1ba947272a0d5a40b5d83a54023dd5d7a6a5 - -pre_build() { - qmake QMAKE_LFLAGS_SHLIB+=" -Wl,-z,now" QMAKE_LFLAGS_PLUGIN+=" -Wl,-z,now" -}