[arch-commits] Commit in qtscriptgenerator/trunk (PKGBUILD)
Andrea Scarpino
andrea at nymeria.archlinux.org
Tue Feb 26 14:48:45 UTC 2013
Date: Tuesday, February 26, 2013 @ 15:48:44
Author: andrea
Revision: 178726
upgpkg: qtscriptgenerator 0.2.0-2
qt4 rebuild
Modified:
qtscriptgenerator/trunk/PKGBUILD
----------+
PKGBUILD | 18 +++++++++---------
1 file changed, 9 insertions(+), 9 deletions(-)
Modified: PKGBUILD
===================================================================
--- PKGBUILD 2013-02-26 14:31:58 UTC (rev 178725)
+++ PKGBUILD 2013-02-26 14:48:44 UTC (rev 178726)
@@ -3,7 +3,7 @@
pkgname=qtscriptgenerator
pkgver=0.2.0
-pkgrel=1
+pkgrel=2
pkgdesc="A tool that generates Qt bindings for Qt Script"
arch=("i686" "x86_64")
url="https://code.google.com/p/qtscriptgenerator/"
@@ -18,27 +18,27 @@
'c50b26e6504f5c981a916860d9c3929e436e1067')
build() {
- cd "${srcdir}"/$pkgname-src-$pkgver
+ cd $pkgname-src-$pkgver
patch -p1 -i "${srcdir}"/phonon.patch
patch -p1 -i "${srcdir}"/no-phonon.patch
# prepare plugins
cd generator
- qmake
+ qmake4
make
- ./generator --include-paths=/usr/include
+ QTDIR=/usr ./generator --include-paths=/usr/include/qt4
# build plugins
- cd "${srcdir}"/$pkgname-src-$pkgver/qtbindings
- qmake
+ cd ../qtbindings
+ qmake4
make
}
package() {
- cd "${srcdir}"/$pkgname-src-$pkgver/qtbindings
+ cd $pkgname-src-$pkgver/qtbindings
# move plugins to correct directory
- install -d "${pkgdir}"/usr/lib/qt/plugins/script
+ install -d "${pkgdir}"/usr/lib/qt4/plugins/script
cp -a "${srcdir}"/$pkgname-src-$pkgver/plugins/script/* \
- "${pkgdir}"/usr/lib/qt/plugins/script/
+ "${pkgdir}"/usr/lib/qt4/plugins/script/
}
More information about the arch-commits
mailing list