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) }