summaryrefslogtreecommitdiff
path: root/extra/qtscriptgenerator/PKGBUILD
diff options
context:
space:
mode:
Diffstat (limited to 'extra/qtscriptgenerator/PKGBUILD')
-rw-r--r--extra/qtscriptgenerator/PKGBUILD26
1 files changed, 10 insertions, 16 deletions
diff --git a/extra/qtscriptgenerator/PKGBUILD b/extra/qtscriptgenerator/PKGBUILD
index 328e6d28e..9ca941734 100644
--- a/extra/qtscriptgenerator/PKGBUILD
+++ b/extra/qtscriptgenerator/PKGBUILD
@@ -1,32 +1,26 @@
-# $Id: PKGBUILD 145770 2011-12-30 11:51:06Z andrea $
+# $Id: PKGBUILD 158023 2012-05-01 07:24:53Z andrea $
# Maintainer: Tobias Powalowski <tpowa@archlinux.org>
pkgname=qtscriptgenerator
-pkgver=0.1.0
-pkgrel=5
+pkgver=0.2.0
+pkgrel=1
pkgdesc="A tool that generates Qt bindings for Qt Script"
arch=("i686" "x86_64")
url="https://code.google.com/p/qtscriptgenerator/"
license=('GPL')
-depends=('qt' 'phonon' 'qtwebkit')
+depends=('qtwebkit')
makedepends=('pkgconfig' 'mesa')
source=("https://qtscriptgenerator.googlecode.com/files/${pkgname}-src-${pkgver}.tar.gz"
- 'no-phonon.patch'
- 'gcc44.patch'
- 'qt48.patch'
- 'phonon.patch')
-sha1sums=('eeae733106369e289f257b754822bc372fd6ba75'
- 'c50b26e6504f5c981a916860d9c3929e436e1067'
- '87cd599403fa9bb441ddc27c77e0b6242e2cc150'
- '5487e2ed1ce4d35b48b3433dc5cc2a1752a03ff1'
- 'cca1cd546628a10a91475a82fe12ad2e4066a7d0')
+ 'phonon.patch'
+ 'no-phonon.patch')
+sha1sums=('4c1078f26b196156e857c17c9d11a66cfea66f00'
+ 'cca1cd546628a10a91475a82fe12ad2e4066a7d0'
+ 'c50b26e6504f5c981a916860d9c3929e436e1067')
build() {
cd "${srcdir}"/$pkgname-src-$pkgver
- patch -p0 -i "${srcdir}"/gcc44.patch
patch -p1 -i "${srcdir}"/phonon.patch
- patch -p1 -i "${srcdir}"/qt48.patch
patch -p1 -i "${srcdir}"/no-phonon.patch
# prepare plugins
@@ -45,6 +39,6 @@ package() {
cd "${srcdir}"/$pkgname-src-$pkgver/qtbindings
# move plugins to correct directory
install -d "${pkgdir}"/usr/lib/qt/plugins/script
- mv "${srcdir}"/$pkgname-src-$pkgver/plugins/script/* \
+ cp -a "${srcdir}"/$pkgname-src-$pkgver/plugins/script/* \
"${pkgdir}"/usr/lib/qt/plugins/script/
}