summaryrefslogtreecommitdiff
path: root/community/fatrat/PKGBUILD
diff options
context:
space:
mode:
authorroot <root@rshg054.dnsready.net>2013-07-19 01:10:32 -0700
committerroot <root@rshg054.dnsready.net>2013-07-19 01:10:32 -0700
commit8fbc0076a4827ddc6af92e0b9daa4c4c31450808 (patch)
tree03fd0e2921ebd53228d9a93e32ed3976b636cbea /community/fatrat/PKGBUILD
parente445a313723389ba9ee1fded025c567dae5b21ea (diff)
Fri Jul 19 01:09:18 PDT 2013
Diffstat (limited to 'community/fatrat/PKGBUILD')
-rw-r--r--community/fatrat/PKGBUILD42
1 files changed, 42 insertions, 0 deletions
diff --git a/community/fatrat/PKGBUILD b/community/fatrat/PKGBUILD
new file mode 100644
index 000000000..36a4a254f
--- /dev/null
+++ b/community/fatrat/PKGBUILD
@@ -0,0 +1,42 @@
+# $Id: PKGBUILD 94068 2013-07-13 16:36:05Z stativ $
+# Maintainer: Lukas Jirkovsky <l.jirkovsky@gmail.com>
+pkgname=fatrat
+pkgver=1.2.0_beta2
+pkgrel=8
+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' 'libtorrent-rasterbar' 'pion' 'qtwebkit' 'curl')
+optdepends=('geoip: GeoIP support' 'java-runtime: Java plugins')
+makedepends=('boost' 'cmake' 'java-environment')
+source=(http://www.dolezel.info/download/data/fatrat/fatrat-$pkgver.tar.xz \
+ QTBUG-22829-workaround.diff pion-5.0.diff)
+md5sums=('ad823d2a81f0583316ece815b928c71b'
+ '9c017f227437b8a72e92219ee6d58578'
+ 'd7d398e7b6415c0a81eb4960d8271997')
+
+build() {
+ cd "$srcdir/$pkgname-$pkgver"
+
+ # workaround the moc bug (QTBUG-22829) with new boost
+ patch -Np1 < "$srcdir/QTBUG-22829-workaround.diff" || true
+ # fix help generation with qt4
+ sed -s 's|qcollectiongenerator|qcollectiongenerator-qt4|' -i CMakeLists.txt
+ # fix for the new pion
+ patch -Np1 < "$srcdir/pion-5.0.diff" || true
+
+ 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: