import 'compile/configure' name=qbittorrent version=3.3.6 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" \ '246195ff8a5e44be8ecfcc8a7c01b5a9' 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: