2012-09-20 11:33:14 +00:00
|
|
|
# Template file for 'wine-gecko'
|
|
|
|
pkgname=wine-gecko
|
2013-10-28 15:31:27 +00:00
|
|
|
version="2.24"
|
2014-06-08 10:15:44 +00:00
|
|
|
revision=3
|
2012-09-20 11:33:14 +00:00
|
|
|
if [ "$XBPS_MACHINE" = "i686" ]; then
|
|
|
|
gecko_arch="x86"
|
2013-10-28 15:31:27 +00:00
|
|
|
checksum=6e38acae87ea66e2c1e8f2f0afe88f89eed3e6e0b431cd3da38dea814b71202c
|
2012-09-20 11:33:14 +00:00
|
|
|
else
|
|
|
|
gecko_arch="$XBPS_MACHINE"
|
2013-10-28 16:12:47 +00:00
|
|
|
checksum=47557da68bcb2aedaebb93af73275aac96ba23e896bd98f25f2acbfd216d9cc8
|
2012-09-20 11:33:14 +00:00
|
|
|
fi
|
2013-10-28 15:31:27 +00:00
|
|
|
distfiles="${SOURCEFORGE_SITE}/wine/wine_gecko-${version}-${gecko_arch}.msi"
|
2012-09-20 11:33:14 +00:00
|
|
|
homepage="http://wiki.winehq.org/Gecko"
|
|
|
|
license="MPL-2"
|
2014-02-16 09:47:24 +00:00
|
|
|
short_desc="Mozilla Gecko Layout Engine for WINE to replace Internet Explorer"
|
2014-06-08 10:15:44 +00:00
|
|
|
maintainer="Juan RP <xtraeme@gmail.com>"
|
2012-09-20 11:33:14 +00:00
|
|
|
|
2013-10-28 16:28:48 +00:00
|
|
|
# XXX there's no support for multilib pkgs yet, so restrict it to x86 for now.
|
|
|
|
only_for_archs="i686"
|
2012-09-20 11:33:14 +00:00
|
|
|
create_wrksrc=yes
|
2014-01-01 15:10:11 +00:00
|
|
|
depends="wine"
|
2012-09-20 11:33:14 +00:00
|
|
|
|
|
|
|
do_extract() {
|
|
|
|
# This is to avoid re-downloading it everytime this template is
|
|
|
|
# edited with a revbump... without an actual version bump.
|
2013-03-22 15:47:18 +00:00
|
|
|
cp -v "${XBPS_SRCDISTDIR}/wine_gecko-${version}-${gecko_arch}.msi" \
|
2012-09-20 11:33:14 +00:00
|
|
|
${wrksrc}
|
|
|
|
}
|
|
|
|
|
|
|
|
do_install() {
|
|
|
|
# The actual installation within WINE occurs at runtime in whatever
|
|
|
|
# WINEPREFIX is being used.
|
2014-02-16 09:47:24 +00:00
|
|
|
vinstall wine_gecko-${version}-${gecko_arch}.msi 755 usr/share/wine/gecko
|
2012-09-20 11:33:14 +00:00
|
|
|
}
|