mirror of
https://github.com/archlinuxarm/PKGBUILDs.git
synced 2024-11-08 22:45:43 +00:00
extra/qtscriptgenerator to 0.2.0-2
This commit is contained in:
parent
598194a24f
commit
29f1554d1f
1 changed files with 7 additions and 7 deletions
|
@ -6,7 +6,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/"
|
||||
|
@ -31,20 +31,20 @@ build() {
|
|||
|
||||
# prepare plugins
|
||||
cd generator
|
||||
qmake
|
||||
qmake-qt4
|
||||
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
|
||||
qmake-qt4
|
||||
make
|
||||
}
|
||||
|
||||
package() {
|
||||
cd "${srcdir}"/$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/
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue