updated on Thu Jan 12 08:01:00 UTC 2012
[aur-mirror.git] / libwebkit-nightly / PKGBUILD
blob8d651d91925070c1c7f086a0a1b866e88e7ab32d
1 # Adapted from offical Arch PKG
2 # Maintainer: pyther <pyther@pyther.net>
4 pkgname=libwebkit-nightly
5 pkgver=83376
6 pkgrel=1
7 pkgdesc="an opensource web content engine - nightly builds"
8 arch=('i686' 'x86_64')
9 url="http://webkitgtk.org/"
10 license=('custom')
11 depends=('gtk2' 'libxt' 'libxslt' 'sqlite3' 'icu>=4.6' 'gstreamer0.10-base' 'libsoup' 'enchant')
12 makedepends=('gperf' 'gtk-doc' 'gobject-introspection' 'python2' 'gtk2')
13 provides=('libwebkit=1.3.13' 'webkitgtk-svn')
14 conflicts=('libwebkit')
15 options=('!libtool')
16 #For Latest Builds look at http://nightly.webkit.org
17 install=libwebkit.install
18 source=(http://builds.nightly.webkit.org/files/trunk/src/WebKit-r${pkgver}.tar.bz2) 
19 md5sums=('147fc319ce9af816638190613591cddd')
21 build() {
22   cd "${srcdir}/WebKit-r${pkgver}"
24   mkdir build-gtk2
25   cd build-gtk2
27   ../autogen.sh
28   PYTHON=/usr/bin/python2 ../configure --prefix=/usr \
29     --enable-video --enable-introspection \
30     --with-font-backend=freetype --enable-gtk-doc \
31     --enable-jit --with-unicode-backend=icu \
32     --enable-3d-transforms --enable-mathml \
33     --enable-spellcheck --with-gtk=2.0
34   make all stamp-po
37 package() {
38   cd "${srcdir}/WebKit-r${pkgver}/build-gtk2"
39   make DESTDIR="${pkgdir}" install
40   install -Dm644 ../Source/WebKit/LICENSE "${pkgdir}/usr/share/licenses/libwebkit/LICENSE"