Commits

Uelsk8s committed 629d97e

fix ver picaxo

Comments (0)

Files changed (1)

var/vabs/picaxo/src/picaxo.SlackBuild

 
 NAME="picaxo"            #Enter package Name!
 VERSION=${VERSION:-"27.03.2008_20.41"}      #Enter package Version!
-VER=$(echo $VERSION|sed 's/-/_/') #this fixes - in version
+VER=$(echo $VERSION|sed 's/_/-/') #this fixes - in version
 VL_PACKAGER=${VL_PACKAGER:-"Uelsk8s"}   #Enter your Name!
-LINK=${LINK:-"http://gigi.nullneuron.net/comp/$NAME/$NAME-$VERSION.tar.gz"}  #Enter URL for package here!
+LINK=${LINK:-"http://gigi.nullneuron.net/comp/$NAME/$NAME-$VER.tar.gz"}  #Enter URL for package here!
 
 
 #SYSTEM VARIABLES
 #EXTRACT SOURCES
 #-----------------------------------------------------
 echo "Extracting source..."
-tar xvf $CWD/$NAME-$VERSION.tar.* || exit 1
+tar xvf $CWD/$NAME-$VER.tar.* || exit 1
 #this moves whatever was extracted to the std dirname we are expecting
 mv * $NAME-$VERSION &> /dev/null 2>&1
 mkdir -p $PKG