aboutsummaryrefslogtreecommitdiffstats
path: root/main/webkit/APKBUILD
blob: 4abf1a5e5739da51805248f3938094e2de4a7c48 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
# Maintainer: Natanael Copa <ncopa@alpinelinux.org>
pkgname=webkit
pkgver=1.2.3
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="0ab5c478a6f5b74a1ae96bf13a456662  webkit-1.2.3.tar.gz"