[arch-commits] Commit in libqzeitgeist/trunk (PKGBUILD)
Andrea Scarpino
andrea at nymeria.archlinux.org
Sat Mar 1 08:23:41 UTC 2014
Date: Saturday, March 1, 2014 @ 09:23:41
Author: andrea
Revision: 206550
Fix build
Modified:
libqzeitgeist/trunk/PKGBUILD
----------+
PKGBUILD | 10 +++++-----
1 file changed, 5 insertions(+), 5 deletions(-)
Modified: PKGBUILD
===================================================================
--- PKGBUILD 2014-03-01 08:22:41 UTC (rev 206549)
+++ PKGBUILD 2014-03-01 08:23:41 UTC (rev 206550)
@@ -15,22 +15,22 @@
md5sums=('97bdea6a1865db7d5f29c93e3a492f24'
'712013e582acb73296e41ad842d0da01')
-build() {
- . /etc/profile.d/qt4.sh
+prepare() {
+ mkdir build
cd ${pkgname}-${pkgver}
patch -p1 -i "${srcdir}"/set-declarative-installation-dir.patch
- cd ../
# Fix python2 path
sed -i 's|/usr/bin/env python|/usr/bin/env python2|' \
${pkgname}-${pkgver}/scripts/onto2cpp.py
+}
- mkdir build
+build() {
cd build
cmake ../${pkgname}-${pkgver} \
-DCMAKE_BUILD_TYPE=Release \
- -DCMAKE_INSTALL_PREFIX=/usr \
+ -DCMAKE_INSTALL_PREFIX=/usr \
-DDECLARATIVE_IMPORT_PREFIX=/usr/lib/qt4/imports/
make
}
More information about the arch-commits
mailing list