Want more features on Pastebin? Sign Up, it's FREE!
Guest

Fixed Qbittorrent 3.0.8-1 PKGBUILD

By: BeTmAsTeR on Feb 8th, 2013  |  syntax: None  |  size: 1.15 KB  |  views: 105  |  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. # Maintainer: Jkkyll Wu <adaptee at gmail [dot] com>
  2. # Contributor: Thomas Dziedzic < gostrc at gmail >
  3. # Contributor: Daniel J Griffiths <ghost1227@archlinux.us>
  4. # Contributor: Geoffroy Carrier <geoffroy.carrier@koon.fr>
  5.  
  6. pkgname=qbittorrent
  7. pkgver=3.0.8
  8. pkgrel=1
  9. pkgdesc="A bittorrent client written in C++ / Qt4 using the good libtorrent library"
  10. arch=('i686' 'x86_64')
  11. url="http://www.qbittorrent.org/"
  12. license=('GPL')
  13. depends=('qt' 'libtorrent-rasterbar' 'boost-libs' 'xdg-utils' 'geoip')
  14. makedepends=('boost' 'which')
  15. optdepends=('python: needed for search')
  16. install="qbittorrent.install"
  17. source=("http://downloads.sourceforge.net/sourceforge/qbittorrent/${pkgname}-${pkgver}.tar.xz"
  18. "http://geolite.maxmind.com/download/geoip/database/GeoLiteCountry/GeoIP.dat.gz"
  19. )
  20.  
  21.  
  22. build() {
  23.   cd "${srcdir}/${pkgname}-${pkgver}"
  24.  
  25.   cp ${srcdir}/GeoIP.dat ${srcdir}/${pkgname}-${pkgver}/src/geoip/
  26.  
  27.   ./configure --prefix=/usr --with-geoip-database-embedded
  28.  
  29.   make
  30. }
  31.  
  32. package() {
  33.   cd "${srcdir}/${pkgname}-${pkgver}"
  34.  
  35.   make INSTALL_ROOT=${pkgdir} install
  36. }
  37.  
  38. md5sums=('9e2b2e4c2d027b80676e94360836aee7'
  39.          '82e119ef9d92f5b5ac203c6307030762')
clone this paste RAW Paste Data