From be7f19444fcdda69fa9905c53b114a31e7e02d71 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= Date: Sun, 23 Aug 2015 13:55:33 +0200 Subject: [PATCH] qbittorrent: switch to build_style=qmake --- srcpkgs/qbittorrent/template | 15 +++++++-------- 1 file changed, 7 insertions(+), 8 deletions(-) diff --git a/srcpkgs/qbittorrent/template b/srcpkgs/qbittorrent/template index fac6a6cf00e..184f039df88 100644 --- a/srcpkgs/qbittorrent/template +++ b/srcpkgs/qbittorrent/template @@ -1,9 +1,8 @@ # Template file for 'qbittorrent' pkgname=qbittorrent version=3.2.3 -revision=2 -build_style=gnu-configure -configure_args="--disable-systemd --with-qt5 $(vopt_enable gui) $(vopt_enable webui)" +revision=3 +build_style=qmake hostmakedepends="automake libtool pkg-config qt5-tools" makedepends="boost-devel libtorrent-rasterbar-devel qt5-declarative-devel qt5-devel qt5-qmake" @@ -19,9 +18,9 @@ desc_option_webui="Enable the web user interface" build_options_default="gui" pre_configure() { - cd ${wrksrc} - qmake -} -do_install() { - make INSTALL_ROOT="${DESTDIR}" install + ./configure --prefix=/usr \ + --disable-systemd \ + --with-qt5 \ + $(vopt_enable gui) \ + $(vopt_enable webui) }