From c141d13dd4fb59275fe6c2470c74fff0e8adf593 Mon Sep 17 00:00:00 2001 From: Juan RP Date: Wed, 17 Dec 2014 14:12:12 +0100 Subject: [PATCH] wine-gecko: update to 2.34, make it noarch. --- srcpkgs/wine-gecko/template | 31 ++++++++----------------------- 1 file changed, 8 insertions(+), 23 deletions(-) diff --git a/srcpkgs/wine-gecko/template b/srcpkgs/wine-gecko/template index a2b179d2ed5..6437dccfbe2 100644 --- a/srcpkgs/wine-gecko/template +++ b/srcpkgs/wine-gecko/template @@ -1,33 +1,18 @@ # Template file for 'wine-gecko' pkgname=wine-gecko -version="2.24" -revision=3 -if [ "$XBPS_MACHINE" = "i686" ]; then - gecko_arch="x86" - checksum=6e38acae87ea66e2c1e8f2f0afe88f89eed3e6e0b431cd3da38dea814b71202c -else - gecko_arch="$XBPS_MACHINE" - checksum=47557da68bcb2aedaebb93af73275aac96ba23e896bd98f25f2acbfd216d9cc8 -fi -distfiles="${SOURCEFORGE_SITE}/wine/wine_gecko-${version}-${gecko_arch}.msi" +version=2.34 +revision=1 +noarch=yes +build_style=fetch +checksum=956c26bf302b1864f4d7cb6caee4fc83d4c1281157731761af6395b876e29ca7 +distfiles="${SOURCEFORGE_SITE}/wine/wine_gecko-${version}-x86.msi" homepage="http://wiki.winehq.org/Gecko" license="MPL-2" -short_desc="Mozilla Gecko Layout Engine for WINE to replace Internet Explorer" +short_desc="Mozilla Gecko Layout Engine for WINE to replace Internet Explorer (32bit)" maintainer="Juan RP " -# XXX there's no support for multilib pkgs yet, so restrict it to x86 for now. -only_for_archs="i686" -create_wrksrc=yes -depends="wine" - -do_extract() { - # This is to avoid re-downloading it everytime this template is - # edited with a revbump... without an actual version bump. - cp -v "${XBPS_SRCDISTDIR}/${pkgname}-${version}/wine_gecko-${version}-${gecko_arch}.msi" ${wrksrc} -} - do_install() { # The actual installation within WINE occurs at runtime in whatever # WINEPREFIX is being used. - vinstall wine_gecko-${version}-${gecko_arch}.msi 755 usr/share/wine/gecko + vinstall wine_gecko-${version}-x86.msi 755 usr/share/wine/gecko }