You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
60 lines
1.5 KiB
60 lines
1.5 KiB
7 years ago
|
# Copyright 1999-2017 Gentoo Foundation
|
||
9 years ago
|
# Distributed under the terms of the GNU General Public License v2
|
||
|
|
||
7 years ago
|
EAPI=6
|
||
9 years ago
|
|
||
7 years ago
|
inherit toolchain-funcs desktop xdg-utils
|
||
9 years ago
|
|
||
|
DESCRIPTION="A Mozilla-based web browser whose design is inspired by GNU Emacs"
|
||
|
HOMEPAGE="http://conkeror.org/"
|
||
|
# snapshot from git://repo.or.cz/conkeror.git
|
||
|
# conkeror.png is derived from http://commons.wikimedia.org/wiki/File:Conker.jpg
|
||
9 years ago
|
SRC_URI="https://dev.gentoo.org/~ulm/distfiles/${P}.tar.xz
|
||
|
https://dev.gentoo.org/~ulm/distfiles/${PN}.png"
|
||
9 years ago
|
|
||
|
# CC-BY-SA-3.0 for conkeror.png
|
||
|
LICENSE="|| ( MPL-1.1 GPL-2 LGPL-2.1 ) CC-BY-SA-3.0"
|
||
|
SLOT="0"
|
||
|
KEYWORDS="~amd64 ~x86 ~amd64-linux ~x86-linux"
|
||
|
|
||
7 years ago
|
RDEPEND="|| ( ( >=www-client/firefox-5.0 <www-client/firefox-57 )
|
||
|
( >=www-client/firefox-bin-23.0 <www-client/firefox-bin-57 ) )"
|
||
9 years ago
|
|
||
|
S="${WORKDIR}/${PN}"
|
||
|
|
||
|
src_unpack() {
|
||
|
unpack ${P}.tar.xz
|
||
|
cp "${DISTDIR}/${PN}.png" . || die
|
||
|
}
|
||
|
|
||
|
src_compile() {
|
||
|
emake CC="$(tc-getCC)" CFLAGS="${CFLAGS}"
|
||
|
}
|
||
|
|
||
|
src_install() {
|
||
|
insinto /usr/share/${PN}
|
||
|
doins -r branding chrome components content defaults help locale modules \
|
||
|
search-engines style tests
|
||
|
doins application.ini *.manifest Info.plist
|
||
|
|
||
|
exeinto /usr/libexec/${PN}
|
||
|
doexe conkeror-spawn-helper
|
||
|
dosym ../../libexec/${PN}/conkeror-spawn-helper \
|
||
|
/usr/share/${PN}/conkeror-spawn-helper
|
||
|
|
||
|
newbin "${FILESDIR}/conkeror-r2.sh" conkeror
|
||
|
domenu "${FILESDIR}/conkeror.desktop"
|
||
|
doicon "${WORKDIR}/conkeror.png"
|
||
|
|
||
|
doman contrib/man/conkeror.1
|
||
|
dodoc CREDITS README
|
||
|
}
|
||
|
|
||
|
pkg_postinst() {
|
||
7 years ago
|
xdg_desktop_database_update
|
||
9 years ago
|
}
|
||
|
|
||
|
pkg_postrm() {
|
||
7 years ago
|
xdg_desktop_database_update
|
||
9 years ago
|
}
|