summaryrefslogtreecommitdiff
blob: 28c0221c0c2710b3f6c8695938ee84b5d4751a16 (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
# Copyright 1999-2014 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Id$

EAPI=5
inherit toolchain-funcs savedconfig

if [[ ${PV} == 9999* ]]; then
	inherit git-r3
	EGIT_REPO_URI="git://git.code.sf.net/p/vimprobable/code"
else
	SRC_URI="mirror://sourceforge/vimprobable/${PN}_${PV}.tar.bz2"
	KEYWORDS="~amd64 ~x86"
	S=${WORKDIR}/${PN}
fi

DESCRIPTION="A minimal web browser that behaves like the Vimperator plugin for Firefox"
HOMEPAGE="http://www.vimprobable.org/"

LICENSE="MIT"
SLOT="0"

RDEPEND="net-libs/libsoup:2.4
	net-libs/webkit-gtk:2
	x11-libs/gtk+:2
	x11-libs/libX11"
DEPEND="${RDEPEND}
	dev-lang/perl
	virtual/pkgconfig"

src_prepare() {
	tc-export CC
	restore_config config.h keymap.h
}

src_install() {
	dobin ${PN}
	doman ${PN}.1 vimprobablerc.5

	save_config config.h keymap.h
}