summaryrefslogtreecommitdiff
blob: 11a77daf42f3a448ed7caf9ddf403d72100e14e0 (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
# Copyright 1999-2018 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2

EAPI=0

DESCRIPTION="A lightweight modular configurable http url handler/browser launcher"
HOMEPAGE="https://www.gentoo.org/"
SRC_URI="mirror://gentoo/${P}.tar.bz2"

LICENSE="GPL-2"
SLOT="0"
KEYWORDS="ppc x86"
IUSE=""

DEPEND=""
RDEPEND=""

src_install() {
	into /usr
	dobin browser-config
	dosym /usr/bin/browser-config /usr/bin/runbrowser
	insinto /usr/share/browser-config
	doins definitions/*
}

pkg_postinst() {
	elog "Please run browser-config -b <browser> -m <method>"
	elog "If run as root, it will be global, if run as a user it will be for"
	elog "that user only."
	elog
	elog "Please see browser-config -h for info on available browsers/methods"
	elog
	elog "You may then tell your applications to use either 'runbrowser' or"
	elog "'browser-config' as a browser."
	elog
}