[arch-commits] Commit in fatrat/trunk (PKGBUILD)

Evangelos Foutras foutrelis at archlinux.org
Thu Nov 6 01:33:25 UTC 2014


    Date: Thursday, November 6, 2014 @ 02:33:25
  Author: foutrelis
Revision: 121998

upgpkg: fatrat 1.2.0_beta2-14

boost 1.57.0 rebuild.

Modified:
  fatrat/trunk/PKGBUILD

----------+
 PKGBUILD |   10 ++++++++--
 1 file changed, 8 insertions(+), 2 deletions(-)

Modified: PKGBUILD
===================================================================
--- PKGBUILD	2014-11-06 01:25:29 UTC (rev 121997)
+++ PKGBUILD	2014-11-06 01:33:25 UTC (rev 121998)
@@ -2,7 +2,7 @@
 # Maintainer: Lukas Jirkovsky <l.jirkovsky at gmail.com>
 pkgname=fatrat
 pkgver=1.2.0_beta2
-pkgrel=13
+pkgrel=14
 pkgdesc="Qt4 based download manager with support for HTTP, FTP, SFTP, BitTorrent, rapidshare and more"
 arch=('i686' 'x86_64')
 url="http://fatrat.dolezel.info/"
@@ -15,7 +15,7 @@
 md5sums=('ad823d2a81f0583316ece815b928c71b'
          'd7d398e7b6415c0a81eb4960d8271997')
 
-build() {
+prepare() {
   cd "$srcdir/$pkgname-$pkgver"
 
   # fix help generation with qt4
@@ -26,7 +26,13 @@
   # by disabling all boost headers during the MOC execution
   find . -type f -exec sed -i 's|#include <boost/.*|#ifndef Q_MOC_RUN\n&\n#endif|' '{}' ';'
   find . -type f -exec sed -i 's|#include <pion/.*|#ifndef Q_MOC_RUN\n&\n#endif|' '{}' ';'
+}
 
+build() {
+  cd "$srcdir/$pkgname-$pkgver"
+
+  export JAVA_HOME=/usr/lib/jvm/default
+
   cmake \
     -DWITH_EVERYTHING=ON \
     -DCMAKE_INSTALL_PREFIX=/usr \



More information about the arch-commits mailing list