Commits

Anonymous committed 7ede5b0

libgdiplus add LINK and download src

Comments (0)

Files changed (1)

var/vabs/libgdiplus/src/libgdiplus.SlackBuild

 NAME="libgdiplus"				#Enter package Name!
 VERSION=${VERSION:-"2.10.9"}			#Enter package Version!
 VL_PACKAGER=${VL_PACKAGER:-"Stretchedthin"}	#Enter your Name!
-
+LINK=${LINK:-"http://origin-download.mono-project.com/sources/${NAME}/${NAME}-${VERSION}.tar.bz2"}
 
 #SYSTEM VARIABLES
 #----------------------------------------------------------------------------
 cd $TMP
 rm -rf $NAME-$VERSION
 
+# Download the source
+for src in $(echo $LINK); do
+	(cd $CWD
+	wget -c --no-check-certificate $src
+	)
+done
 
 #EXTRACT SOURCES
 #-----------------------------------------------------