Pastebin launched a little side project called VERYVIRAL.com, check it out ;-) Want more features on Pastebin? Sign Up, it's FREE!
Guest

qbittorrent-fake

By: a guest on Nov 4th, 2011  |  syntax: None  |  size: 0.95 KB  |  views: 30  |  expires: Never
download  |  raw  |  embed  |  report abuse  |  print
Text below is selected. Please press Ctrl+C to copy to your clipboard. (⌘+C on Mac)
  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.  
clone this paste RAW Paste Data