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

EAPI=6

MY_PN=${PN/-/_}

DESCRIPTION="A Mozilla Gecko based version of Internet Explorer for Wine"
HOMEPAGE="https://winehq.org"
SRC_URI="
	abi_x86_32? ( https://dl.winehq.org/wine/${PN}/${PV}/${MY_PN}-${PV}-x86.msi )
	abi_x86_64? ( https://dl.winehq.org/wine/${PN}/${PV}/${MY_PN}-${PV}-x86_64.msi )
"

LICENSE="Apache-2.0 BSD BSD-2 MIT MPL-2.0"
SLOT="${PV}"
KEYWORDS="amd64 x86"
IUSE="abi_x86_32 abi_x86_64"

DEPEND="!!app-emulation/wine:0"

S="${WORKDIR}"

src_install(){
	insinto /usr/share/wine/gecko
	use abi_x86_32 && doins "${DISTDIR}/${MY_PN}-${PV}-x86.msi"
	use abi_x86_64 && doins "${DISTDIR}/${MY_PN}-${PV}-x86_64.msi"
}