import 'compile/configure' name=qbittorrent version=3.3.7 update_url='http://www.qbittorrent.org/download.php' define_option '!qt4: Build for Qt4 instead of Qt5' dlextract "http://sourceforge.net/projects/$name/files/$name/$name-$version/$name-$version.tar.xz" \ '646cc40b551700ec4988c36da8638183' header_end cd "$name-$version" compile_configure -I -- \ --with-qtsingleapplication=shipped \ $(option qt4 && echo '--with-qt4 --with-qjson=shipped' || echo '--without-qt4') make INSTALL_ROOT="$dir_install" install # vim:set tabstop=4 shiftwidth=4 syntax=sh et: