aboutsummaryrefslogtreecommitdiffstats
path: root/main/webkit/APKBUILD
diff options
context:
space:
mode:
Diffstat (limited to 'main/webkit/APKBUILD')
-rw-r--r--main/webkit/APKBUILD45
1 files changed, 45 insertions, 0 deletions
diff --git a/main/webkit/APKBUILD b/main/webkit/APKBUILD
new file mode 100644
index 0000000000..4254b912b3
--- /dev/null
+++ b/main/webkit/APKBUILD
@@ -0,0 +1,45 @@
+# Maintainer: Natanael Copa <ncopa@alpinelinux.org>
+pkgname=webkit
+pkgver=1.1.15.4
+pkgrel=0
+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="47301fb7120421ac38bf714db8f5d428 webkit-1.1.15.4.tar.gz"