# see https://github.com/qbittorrent/qBittorrent/issues/7845 prepare() { cd $pkgbase-$pkgver sed -i ' /LDFLAGS="\$BOOST_LDFLAGS \$LDFLAGS"/ i \ BOOST_LDFLAGS=-L/usr/lib ' configure.ac ./bootstrap.sh }