summaryrefslogtreecommitdiff
path: root/community-staging
diff options
context:
space:
mode:
authorroot <root@rshg054.dnsready.net>2012-03-02 00:01:28 +0000
committerroot <root@rshg054.dnsready.net>2012-03-02 00:01:28 +0000
commit9ff97db6951550a28a70b27491a446da9d736176 (patch)
tree482d46078cf0367200908e8e26bb335e54429b5b /community-staging
parent6f297b1cf462a11227d811a87124006c55911d63 (diff)
Fri Mar 2 00:01:27 UTC 2012
Diffstat (limited to 'community-staging')
-rw-r--r--community-staging/fatrat/PKGBUILD38
1 files changed, 38 insertions, 0 deletions
diff --git a/community-staging/fatrat/PKGBUILD b/community-staging/fatrat/PKGBUILD
new file mode 100644
index 000000000..496c06e7b
--- /dev/null
+++ b/community-staging/fatrat/PKGBUILD
@@ -0,0 +1,38 @@
+# $Id: PKGBUILD 66844 2012-02-29 11:27:59Z stativ $
+# Maintainer: Lukas Jirkovsky <l.jirkovsky@gmail.com>
+
+pkgname=fatrat
+pkgver=1.2.0_beta1
+pkgrel=4
+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' 'qtwebkit')
+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
+
+ . /etc/profile.d/jre.sh
+ . /etc/profile.d/jdk.sh
+
+ cmake \
+ -DWITH_EVERYTHING=ON \
+ -DCMAKE_{SHARED,MODULE,EXE}_LINKER_FLAGS="-lpthread" \
+ -DCMAKE_CXX_FLAGS="${CXXFLAGS} -DBOOST_FILESYSTEM_VERSION=2" \
+ -DCMAKE_INSTALL_PREFIX=/usr \
+ .
+
+ make
+}
+
+package() {
+ cd $pkgname-$pkgver
+ make DESTDIR="$pkgdir" install
+}
+
+# vim:set ts=2 sw=2 et: