summaryrefslogtreecommitdiff
path: root/community/fatrat/PKGBUILD
blob: 55ee84975443bcf174972cc629e64de69a97976b (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
# $Id: PKGBUILD 40982 2011-03-03 00:04:39Z tdziedzic $
# Maintainer: Lukas Jirkovsky <l.jirkovsky@gmail.com>
pkgname=fatrat
pkgver=1.1.3
pkgrel=3
pkgdesc="QT4 based download manager with support for HTTP, FTP, SFTP, BitTorrent, rapidshare and more"
arch=('i686' 'x86_64' 'mips64el')
url="http://fatrat.dolezel.info/"
license=('GPL')
depends=('gloox' 'curl' 'qt' 'libtorrent-rasterbar')
optdepends=('geoip: GeoIP support')
makedepends=('asio' 'cmake')
source=(http://www.dolezel.info/download/data/fatrat/fatrat-$pkgver.tar.gz)
md5sums=('6d4a00cdd0b59a05b1521184508d4637')

build() {
  cd "$srcdir"/$pkgname-$pkgver

  export CXXFLAGS="${CXXFLAGS} -DBOOST_FILESYSTEM_VERSION=2"

  cmake -DWITH_EVERYTHING=ON -DCMAKE_INSTALL_PREFIX=/usr .
  make
}

package() {
  cd "$srcdir"/$pkgname-$pkgver
  make DESTDIR="$pkgdir" install
}

# vim:set ts=2 sw=2 et: