summaryrefslogtreecommitdiff
path: root/community-testing/fatrat/PKGBUILD
diff options
context:
space:
mode:
Diffstat (limited to 'community-testing/fatrat/PKGBUILD')
-rw-r--r--community-testing/fatrat/PKGBUILD35
1 files changed, 35 insertions, 0 deletions
diff --git a/community-testing/fatrat/PKGBUILD b/community-testing/fatrat/PKGBUILD
new file mode 100644
index 000000000..9dbaa161f
--- /dev/null
+++ b/community-testing/fatrat/PKGBUILD
@@ -0,0 +1,35 @@
+# $Id: PKGBUILD 59739 2011-11-30 06:33:58Z ibiru $
+# Maintainer: Lukas Jirkovsky <l.jirkovsky@gmail.com>
+
+pkgname=fatrat
+pkgver=1.2.0_beta1
+pkgrel=2
+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' 'qt' 'libtorrent-rasterbar' 'pion-net')
+optdepends=('geoip: GeoIP support')
+makedepends=('boost' 'cmake' 'java-environment')
+source=(http://www.dolezel.info/download/data/fatrat/fatrat-$pkgver.tar.gz)
+md5sums=('7ce4d5e6318361f36ba5ac86a5755da9')
+
+build() {
+ cd $pkgname-$pkgver
+
+ export CXXFLAGS="${CXXFLAGS} -DBOOST_FILESYSTEM_VERSION=2"
+
+ cmake \
+ -DWITH_EVERYTHING=ON \
+ -DCMAKE_INSTALL_PREFIX=/usr \
+ .
+
+ make
+}
+
+package() {
+ cd $pkgname-$pkgver
+ make DESTDIR="$pkgdir" install
+}
+
+# vim:set ts=2 sw=2 et: