diff options
Diffstat (limited to 'community/fatrat/PKGBUILD')
-rw-r--r-- | community/fatrat/PKGBUILD | 30 |
1 files changed, 30 insertions, 0 deletions
diff --git a/community/fatrat/PKGBUILD b/community/fatrat/PKGBUILD new file mode 100644 index 000000000..11a5cd076 --- /dev/null +++ b/community/fatrat/PKGBUILD @@ -0,0 +1,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') +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: |