diff --git a/srcpkgs/qbittorrent/template b/srcpkgs/qbittorrent/template index 56e64d4f59..32a1cadaf5 100644 --- a/srcpkgs/qbittorrent/template +++ b/srcpkgs/qbittorrent/template @@ -1,6 +1,6 @@ # Template file for 'qbittorrent' pkgname=qbittorrent -version=4.1.6 +version=4.1.7 revision=1 create_wrksrc=yes build_style=qmake @@ -12,7 +12,7 @@ maintainer="Jürgen Buchmüller " license="GPL-2.0-or-later" homepage="http://www.qbittorrent.org/" distfiles="${SOURCEFORGE_SITE}/${pkgname}/${pkgname}-${version}.tar.xz" -checksum=25c629381454814c9d897693162482de8a049de8745680922b012d46377756a8 +checksum=1eef2cf930e167e7e1d2d338bf1efc0a4a38cba1211f909bc9741a7b5ff2b330 if [ "$CROSS_BUILD" ]; then hostmakedepends+=" qt5-svg-devel" @@ -74,7 +74,10 @@ _EOF QMAKE_CXXFLAGS="${CXXFLAGS}" \ QMAKE_LFLAGS="${LDFLAGS}" \ -qtconf qt.conf - vsed -i src/Makefile -e "s; /usr/lib/libQt5; ${XBPS_CROSS_BASE}/usr/lib/libQt5;g" + if [ "${XBPS_CROSS_BASE}" ]; then + vsed -i src/Makefile \ + -e "s; /usr/lib/libQt5; ${XBPS_CROSS_BASE}/usr/lib/libQt5;g" + fi done }