4 pkgdesc="A bittorrent client written in C++ / Qt4 using libtorrent-rasterbar library (with uTorrent user-agent)"
6 url="http://www.qbittorrent.org/"
8 depends=('qt' 'libtorrent-rasterbar' 'xdg-utils')
9 optdepends=('python: needed for search' 'geoip: improves peer country resolution')
10 makedepends=('boost' 'geoip')
11 provides=('qbittorrent')
12 conflicts=('qbittorrent qbittorrent-fake')
13 source=("http://downloads.sourceforge.net/sourceforge/qbittorrent/qbittorrent-${pkgver}.tar.gz")
14 md5sums=('bd35950260f633215db8acd7c22317dc')
17 tar xf qbittorrent-${pkgver}.tar.gz
18 cd qbittorrent-${pkgver}
19 sed -i -e 's|sessionSettings.user_agent = "qBittorrent "VERSION;|sessionSettings.user_agent = "uTorrent/2210(25302)";|' \
20 ./src/qtlibtorrent/qbtsession.cpp
21 ./configure --prefix=/usr
26 cd qbittorrent-${pkgver}
27 make INSTALL_ROOT=${pkgdir} install
31 xdg-icon-resource forceupdate --theme hicolor &> /dev/null