summaryrefslogtreecommitdiff
blob: aaf054766518787445a822863a9ceb15eb87a7de (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
# Copyright 1999-2014 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/www-client/vimprobable2/vimprobable2-1.4.2-r1.ebuild,v 1.1 2014/07/19 04:53:56 radhermit Exp $

EAPI=5
inherit toolchain-funcs savedconfig

if [[ ${PV} == 9999* ]]; then
	inherit git-r3
	EGIT_REPO_URI="git://git.code.sf.net/p/vimprobable/code"
	EGIT_PROJECT="vimprobable"
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
}