--- configure.win	2015-09-25 19:49:08.000000000 +0200
+++ configure.win	2015-09-25 19:49:08.000000000 +0200
@@ -8,15 +8,7 @@
 	echo "  cannot find current cairograhics files"
 	echo "  attempting to download them"
 	echo 'download.file("http://www.rforge.net/Cairo/files/cairo-current-win.tar.gz","src/cairo-current-win.tar.gz",mode="wb")'|${R_HOME}/bin/R --vanilla --slave
-    fi
-    if [ ! -e src/cairo-current-win.tar.gz ]; then
-	allok=no
-    else
-	echo "  unpacking current cairo"
-	tar fxz src/cairo-current-win.tar.gz
-	if [ ! -e src/win64/libcairo.a ]; then
-	    allok=no
-	fi
+        echo 'untar("src/cairo-current-win.tar.gz", exdir="./", compressed=TRUE)'|${R_HOME}/bin/R --vanilla --slave
     fi
 fi
 
