summaryrefslogtreecommitdiff
path: root/testing/qtwebkit/PKGBUILD
diff options
context:
space:
mode:
authorroot <root@rshg054.dnsready.net>2011-10-25 23:14:56 +0000
committerroot <root@rshg054.dnsready.net>2011-10-25 23:14:56 +0000
commitd03e905f54857600b3c36af9b221c34ccb11074f (patch)
tree6456a06bc5bed5a6083f02bb468392dc6ba6337e /testing/qtwebkit/PKGBUILD
parent0d7bab226067a44a9f1b978924e8201a3fa60764 (diff)
Tue Oct 25 23:14:56 UTC 2011
Diffstat (limited to 'testing/qtwebkit/PKGBUILD')
-rw-r--r--testing/qtwebkit/PKGBUILD36
1 files changed, 36 insertions, 0 deletions
diff --git a/testing/qtwebkit/PKGBUILD b/testing/qtwebkit/PKGBUILD
new file mode 100644
index 000000000..3289a0fa4
--- /dev/null
+++ b/testing/qtwebkit/PKGBUILD
@@ -0,0 +1,36 @@
+# $Id: PKGBUILD 141142 2011-10-24 20:29:54Z andrea $
+# Maintainer: Andrea Scarpino <andrea@archlinux.org>
+
+pkgname=qtwebkit
+pkgver=2.2.0
+pkgrel=1
+arch=('i686' 'x86_64')
+url='http://trac.webkit.org/wiki/QtWebKit'
+pkgdesc='An open source web browser engine (Qt port)'
+license=('LGPL2.1' 'GPL3')
+depends=('qt' 'gperf' 'bison' 'phonon')
+makedepends=('python2' 'mesa' 'chrpath')
+source=("http://get.qt.nokia.com/${pkgname}/QtWebKit-${pkgver}.tar.gz"
+ 'python2-path.patch')
+sha1sums=('3582f3a8b593140af004a19479f5ec19693b3df7'
+ 'b0ef3d5596171e3900a685df9bcfac3068ad6330')
+
+build() {
+ cd "${srcdir}"/QtWebKit-${pkgver}
+
+ patch -p1 -i "${srcdir}"/python2-path.patch
+
+ cd Tools/Scripts
+ ./build-webkit --qt \
+ --prefix=/usr \
+ --makeargs="${MAKEFLAGS}" \
+ --release
+}
+
+package() {
+ cd "${srcdir}"/QtWebKit-${pkgver}
+ make INSTALL_ROOT="${pkgdir}" -C WebKitBuild/Release install
+
+ # Fix RPATH
+ chrpath -r /usr/lib/ "${pkgdir}"/usr/lib/qt/imports/QtWebKit/libqmlwebkitplugin.so
+}