summaryrefslogtreecommitdiff
blob: 40b5a4db3b68262957e3ec2f9ef7197a2e41ce31 (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
46
# Copyright 1999-2009 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: $

EAPI="2"

EGIT_REPO_URI="git://github.com/Dieterbe/uzbl.git"

inherit git toolchain-funcs

DESCRIPTION="A web browser that follows the UNIX philosophy"
HOMEPAGE="http://www.uzbl.org"
SRC_URI=""

LICENSE="GPL-3"
SLOT="0"
KEYWORDS=""
IUSE=""

RDEPEND="dev-lang/perl
	gnome-extra/zenity
	net-misc/socat
	>=net-libs/libsoup-2.24
	>=net-libs/webkit-gtk-1.1.4
	>=x11-libs/gtk+-2.14"
DEPEND="${RDEPEND}
	dev-util/pkgconfig"

EGIT_PATCHES=("${FILESDIR}/${PV}-Makefile.patch")

src_compile() {
	emake CC=$(tc-getCC) || die "emake failed"
}

src_install() {
	emake DESTDIR="${D}" install || die "install failed"
	dodoc docs/* || die "dodoc failed"
}

pkg_postinst() {
	ewarn "Remember to export XDG_DATA_HOME and XDG_CONFIG_HOME or otherwise"
	ewarn "${PN} won't work."
	ewarn "For testing do:"
	ewarn "	export XDG_DATA_HOME=\"/usr/share/uzbl/examples/data/\""
	ewarn "	export XDG_CONFIG_HOME=\"/usr/share/uzbl/examples/config/\""
}