summaryrefslogtreecommitdiff
path: root/community-staging/fatrat
diff options
context:
space:
mode:
authorroot <root@rshg054.dnsready.net>2011-11-26 23:14:49 +0000
committerroot <root@rshg054.dnsready.net>2011-11-26 23:14:49 +0000
commitd5d697136e6d703fa618b3fb08915eef50d4d4de (patch)
tree93a87060f8fb31f19e3e44de8e961d49f1e9f7a5 /community-staging/fatrat
parent6a642c093f29814cdd0fdefeee3ab9400eae490f (diff)
Sat Nov 26 23:14:49 UTC 2011
Diffstat (limited to 'community-staging/fatrat')
-rw-r--r--community-staging/fatrat/PKGBUILD35
1 files changed, 35 insertions, 0 deletions
diff --git a/community-staging/fatrat/PKGBUILD b/community-staging/fatrat/PKGBUILD
new file mode 100644
index 000000000..c6ed36633
--- /dev/null
+++ b/community-staging/fatrat/PKGBUILD
@@ -0,0 +1,35 @@
+# $Id: PKGBUILD 59467 2011-11-25 18:00:39Z stativ $
+# 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: