[arch-commits] Commit in libwebkit/trunk (PKGBUILD)

Jan Steffens heftig at archlinux.org
Wed Feb 23 17:30:05 UTC 2011


    Date: Wednesday, February 23, 2011 @ 12:30:04
  Author: heftig
Revision: 111026

upgpkg: libwebkit 1.3.12-1
Update to 1.3.12, fix translations, add spellcheck

Modified:
  libwebkit/trunk/PKGBUILD

----------+
 PKGBUILD |   28 +++++++++++-----------------
 1 file changed, 11 insertions(+), 17 deletions(-)

Modified: PKGBUILD
===================================================================
--- PKGBUILD	2011-02-23 17:23:06 UTC (rev 111025)
+++ PKGBUILD	2011-02-23 17:30:04 UTC (rev 111026)
@@ -3,7 +3,7 @@
 
 pkgbase=libwebkit
 pkgname=(libwebkit libwebkit3)
-pkgver=1.3.11
+pkgver=1.3.12
 pkgrel=1
 pkgdesc="An opensource web content engine"
 arch=('i686' 'x86_64')
@@ -18,27 +18,20 @@
 
 build() {
   cd "${srcdir}/webkit-${pkgver}"
-  mkdir build-gtk2
-  pushd build-gtk2
-  PYTHON=/usr/bin/python2 ../configure --prefix=/usr \
-    --enable-video --enable-introspection \
-    --with-font-backend=freetype --enable-gtk-doc \
-    --enable-jit --with-unicode-backend=icu \
-    --enable-3D-transforms --enable-mathml \
-    --with-gtk=2.0
-  make
-  popd
+  mkdir build-gtk{2,3}
 
-  mkdir build-gtk3
-  pushd build-gtk3
+  ( cd build-gtk2 && _build --with-gtk=2.0 )
+  ( cd build-gtk3 && _build --with-gtk=3.0 )
+}
+
+_build() {
   PYTHON=/usr/bin/python2 ../configure --prefix=/usr \
     --enable-video --enable-introspection \
     --with-font-backend=freetype --enable-gtk-doc \
     --enable-jit --with-unicode-backend=icu \
-    --enable-3D-transforms --enable-mathml \
-    --with-gtk=3.0
-  make
-  popd
+    --enable-3d-transforms --enable-mathml \
+    --enable-spellcheck "$@" 
+  make all stamp-po
 }
 
 package_libwebkit() {
@@ -61,3 +54,4 @@
   make DESTDIR="${pkgdir}" install
   install -Dm644 ../Source/WebKit/LICENSE "${pkgdir}/usr/share/licenses/libwebkit3/LICENSE"
 }
+md5sums=('f76350682f56761e734faba8689903b5')




More information about the arch-commits mailing list