import 'compile/configure' name=qbittorrent version=4.0.4 update_url='https://www.qbittorrent.org/download.php' define_option '!patch: Apply some custom patches' dlextract "http://sourceforge.net/projects/$name/files/$name/$name-$version/$name-$version.tar.xz" \ 'b32aa05664facad1c571eb6f242eaa49' option patch extrafile "$name-4.0.3-preview-file-on-double-click.patch" _ cd "$name-$version" option patch patch -p0 -i "../$name-4.0.3-preview-file-on-double-click.patch" compile_configure -I -- --with-qtsingleapplication=shipped make INSTALL_ROOT="$dir_install" install # vim:set tabstop=4 shiftwidth=4 syntax=sh expandtab: