diff options
author | V3n3RiX <venerix@redcorelinux.org> | 2017-12-03 16:17:22 +0000 |
---|---|---|
committer | V3n3RiX <venerix@redcorelinux.org> | 2017-12-03 16:17:22 +0000 |
commit | 4cd2370bed609c118b6edfde5d3f116e5c35b897 (patch) | |
tree | ec58f2c41f49754e41521d5ebc9dce4597ddd0a5 /www-client/conkeror/conkeror-1.0.4.ebuild | |
parent | f443475c824b4b5c086e6d040961cb35ad81bc60 (diff) |
gentoo resync : 03.12.2017
Diffstat (limited to 'www-client/conkeror/conkeror-1.0.4.ebuild')
-rw-r--r-- | www-client/conkeror/conkeror-1.0.4.ebuild | 59 |
1 files changed, 59 insertions, 0 deletions
diff --git a/www-client/conkeror/conkeror-1.0.4.ebuild b/www-client/conkeror/conkeror-1.0.4.ebuild new file mode 100644 index 000000000000..ae31992df34e --- /dev/null +++ b/www-client/conkeror/conkeror-1.0.4.ebuild @@ -0,0 +1,59 @@ +# Copyright 1999-2017 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 + +EAPI=6 + +inherit toolchain-funcs desktop xdg-utils + +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 +SRC_URI="https://dev.gentoo.org/~ulm/distfiles/${P}.tar.xz + https://dev.gentoo.org/~ulm/distfiles/${PN}.png" + +# 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" + +RDEPEND="|| ( ( >=www-client/firefox-5.0 <www-client/firefox-57 ) + ( >=www-client/firefox-bin-23.0 <www-client/firefox-bin-57 ) )" + +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() { + xdg_desktop_database_update +} + +pkg_postrm() { + xdg_desktop_database_update +} |