SHARE
TWEET

qbittorrent-fake

a guest Nov 4th, 2011 35 Never
  1.  
  2. pkgname=qbittorrent-fake
  3. pkgver=2.9.2
  4. pkgrel=1
  5. pkgdesc="A bittorrent client written in C++ / Qt4 using libtorrent-rasterbar library (with uTorrent user-agent)"
  6. arch=('i686' 'x86_64')
  7. url="http://www.qbittorrent.org/"
  8. license=('GPL')
  9. depends=('qt' 'libtorrent-rasterbar' 'xdg-utils')
  10. optdepends=('python: needed for search'
  11.             'geoip: improves peer country resolution')
  12. makedepends=('boost')
  13. provides=('qbittorrent')
  14. conflicts=('qbittorrent')
  15. source=("http://downloads.sourceforge.net/project/qbittorrent/qbittorrent/qbittorrent-${pkgver}/qbittorrent-${pkgver}.tar.gz")
  16. md5sums=('0c2188e0065be57e50c06f5934d5f7a2')
  17.  
  18. build() {
  19.   cd qbittorrent-${pkgver}
  20.   sed -i -e 's|sessionSettings.user_agent = "qBittorrent "VERSION;|sessionSettings.user_agent = "uTorrent/2210(25302)";|' \
  21.          ./src/qtlibtorrent/qbtsession.cpp
  22.   ./configure --prefix=/usr
  23.   make
  24. }
  25.  
  26. package() {
  27.   cd qbittorrent-${pkgver}
  28.   make INSTALL_ROOT=${pkgdir} install
  29. }
  30.  
  31.  
RAW Paste Data
Top