# Maintainer: Natanael Copa pkgname=webkit pkgver=1.2.0 pkgrel=1 pkgdesc="portable web rendering engine WebKit for GTK+" url="http://webkitgtk.org/" license="LGPL BSD" depends= makedepends=" libsoup-dev pango-dev gtk+-dev jpeg-dev libpng-dev libxml2-dev gperf pkgconfig bison flex icu-dev cairo-dev atk-dev gnutls-dev sqlite-dev libxslt-dev libxt-dev libiconv-dev gettext-dev zlib-dev libgcrypt-dev libgpg-error-dev expat-dev e2fsprogs-dev enchant-dev libxi-dev libxrandr-dev libxcursor-dev libxdamage-dev libxcomposite-dev gstreamer-dev gst-plugins-base-dev " install= subpackages="$pkgname-dev gtklauncher" source="http://webkitgtk.org/$pkgname-$pkgver.tar.gz" depends_dev="gtk+-dev libsoup-dev gstreamer-dev" build() { cd "$srcdir"/$pkgname-$pkgver ./configure --prefix=/usr \ --sysconfdir=/etc \ --mandir=/usr/share/man \ --infodir=/usr/share/info make || return 1 } package() { cd "$srcdir"/$pkgname-$pkgver make DESTDIR="$pkgdir" install } gtklauncher() { pkgdesc="Application to test WebKit" depends="" install= install -Dm755 "$srcdir"/$pkgname-$pkgver/Programs/GtkLauncher \ "$subpkgdir"/usr/bin/GtkLauncher } md5sums="b2bfcbc4bbf1d0a51f848cb54c21ee66 webkit-1.2.0.tar.gz"